Using mount from starter package

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Hidden
Posts: 101
Joined: Tue May 08, 2012 6:10 pm

Using mount from starter package

#1 Post by Hidden » Fri Aug 31, 2012 5:49 am

I'm trying to get my bot to open and use first 2 packages

<!-- # 20 --><waypoint x="-3786" z="-8624" y="224">
player:target_NPC("Reideen");
CompleteQuestByName("Claim Your Potions");
yrest(500);
inventory:useItem(201843);
yrest(5000);
inventory:useItem(201844);
yrest(5000);
inventory:useItem(Brown Horse (1 Day));
</waypoint>

So far it will open the 2 packages but will not mount.
Using the name causes and error and crashes the script and using the id code 203571 the bot seems to ignore and walk off on its way to the next waypoint.

I feel like I have missed something simple....

User avatar
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: Using mount from starter package

#2 Post by gloover » Fri Aug 31, 2012 7:56 am

use player:mount() instead of inventory:useItem(Brown Horse (1 Day)); and stay happy ;-)
this function will use every mount, firtst found in your bag.

Hidden
Posts: 101
Joined: Tue May 08, 2012 6:10 pm

Re: Using mount from starter package

#3 Post by Hidden » Fri Aug 31, 2012 8:06 am

Thanks gloover found my error needed to add a yrest after.and the syntax errors no " "
Wasnt waiting to summon the mount and just running off.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 12 guests