FANDOM


Created by Stragothemad.

Here is another script for changing into another actor can be used as a spell with more stuff added I did it as an item 

Using "RC_Core.rcm"
; Mystic Kingdoms
; Date/Time: 4:04:14 PM on 2/8/2014
; By Strago on STRAGO-PC


Function Main()
         Player = Actor()

         ; Turn the player into a wolf
              OldID = ActorIDFromInstance(Player)
         ID = ActorID("Wolf", "Critter")
            ChangeActor(Player, ID)
            GiveItem(Player, "Wolf Stone", - 1)
           
           ; Wait 10 seconds
         DoEvents(30000)

         ; Turn him back into whatever he was before
            MoveActor(Actor(), ActorX(Actor()), ActorY(Actor()) + 3.0, ActorZ(Actor()))
              ChangeActor(Player, OldID)
            
         Return
         
End Function

And to add more usefull information remove ; Wait 10 seconds DoEvents(30000)

; Turn him back into whatever he was before MoveActor(Actor(), ActorX(Actor()), ActorY(Actor()) + 3.0, ActorZ(Actor())) ChangeActor(Player, OldID) and your actor will be that ID for a few(Havent tested it for online use but hopefully it will remain as the changed actor