Page 1 of 1

New to scripting help please

Posted: 2009-07-05 17:22:50
by CaptCrunch101
I am trying to write a script that will use some rides that I have shrunk in my pack. The problem I am running into is that not every time does all of the animals pop out unless I use them as an object.
The question I have is how can I make the id of the animal not change when it unshrink and reshrink.

Here is the script that I have been working on.

Code: Select all

Sub pk()
   UO.exec("usetype ridge")
   wait(300)
   UO.say("all guard me")
   UO.exec("usetype ridge")
   wait(300)
   UO.say("all guard me")
   UO.exec("usetype unicorn")
   wait(300)
   UO.say("all guard me")
end sub


I am very new to coding and injection so if the answer is obvious I am sorry. Any help would be greatly appreciated.