problem with player.target_Object in instances

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Paton
Posts: 28
Joined: Fri Sep 03, 2010 12:23 pm

problem with player.target_Object in instances

#1 Post by Paton » Mon Oct 04, 2010 2:36 pm

I am working a waypoint file for gathering transparent jade in Arcane Chamber of Sathkur.

For starting i just tried collecting the jade with my script, which i run sometimes to gather resources on open land through a keypress. It works nicely with player:harvest() outside, but in the instance after pressing keypad + it collects 1 jade and when i move on to next spot and try collecting again, it says in mm window "no harvestable found". I am direct near it. If i restart the script it finds again only once and then never again. Is that an object update problem ? How could i find the error with debugging ?

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="RUN">
-- Transparent Jade Collecting in Arcane Chamber of Sathkur ----------

<onLoad>
changeProfileOption("HARVEST_DISTANCE", 120)

	-- Main loop
while (true) do
     if( keyPressed( key.VK_ADD ) ) then
       player:target_Object(112801,6000,true);
    end
end
</onLoad>
</waypoints>

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 9 guests