remove mount

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Marcora
Posts: 9
Joined: Tue Feb 19, 2013 11:11 am

remove mount

#1 Post by Marcora »

Hello

I would like to remove the mount how to please, thank you (sorry i am translate whit google ++)

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
	<onLoad>
	cprintf(cli.lightgreen,"\n                              script \n")
	cprintf(cli.lightgreen,"\n                  This version works with all lenguages\n")
	</onLoad>

	<!-- #  1 --><waypoint x="-1721" z="2111" y="-479" tag="start">	yrest(2000)
	SlashCommand("ILG inv");
        yrest(2000)
	if (not player:hasBuff("506688")) then
    inventory:useItem(207202);
    end
	player:mount(); </waypoint>
	<!-- #  1 --><waypoint x="-1722" z="2102" y="-479">	</waypoint>
	<!-- #  1 --><waypoint x="-1722" z="2102" y="-479" tag="enter" type="TRAVEL"> player:dismount(); </waypoint>
        <!-- #  1 --><waypoint x="-1722" z="2102" y="-479">
   waitForLoadingScreen(10);   
   if getZoneId() == 1 then
      __WPL:setWaypointIndex(__WPL:findWaypointTag("enter"));
   end </waypoint>
kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: remove mount

#2 Post by kenzu38 »

Just delete:

Code: Select all

player:mount();
Or it might be better to just replace it with:

Code: Select all

player:dismount();
so if you are coming from a previous waypoint file and the char is already mounted, this will make sure it dismounts before starting with the new waypoint file.
Post Reply