Thread: Making an altar switch to lunar magic?

Results 1 to 4 of 4
  1. #1 Making an altar switch to lunar magic? 
    Registered Member Zylsium's Avatar
    Join Date
    Jun 2010
    Posts
    111
    Thanks given
    2
    Thanks received
    2
    Rep Power
    3
    I have lunar magic added in my server, and in my client.

    But what I dont want, is someone typing in :witch 2 and going to lunar

    I want them to click on like an altar, and then it switch them to lunar, like ancients does.

    How would i go on about doing this??
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2010
    Posts
    217
    Thanks given
    0
    Thanks received
    2
    Rep Power
    1
    Base?
    Reply With Quote  
     

  3. #3  
    Registered Member
    LAMT's Avatar
    Join Date
    Jul 2007
    Posts
    1,120
    Thanks given
    45
    Thanks received
    10
    Rep Power
    716
    under
    Code:
    switch(actionButton) {
    put
    Code:
    case ####: // #### = obj id of alter
    switchMagic(); // <-- the method used to switch your magic.
    break;

    Reply With Quote  
     

  4. #4  
    Registered Member Zylsium's Avatar
    Join Date
    Jun 2010
    Posts
    111
    Thanks given
    2
    Thanks received
    2
    Rep Power
    3
    AHHH that worked! but hmm, idk if this is client sided or server sided.

    But when I go to switch to lunar, its a blank inventory box, but when I hover around i see the spell names and id's on the top left corner


    Using galkons refact, and I did his tut properly. I think.
    Base is PI
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •