FindType Problem

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Fonzy
Posts: 32
Joined: 2004-05-03 17:30:45
Location: OR
Contact:

FindType Problem

Post by Fonzy »

I have a script that check if there's a water elemental, and when it finds it with the findtype, my pgs runs away. When I come back, and the elemental is no more there, the findtype continuosly finds it. I have Track World Item checked and I must leave it. What can I do?
OR
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

add conditions in cycle of detection, when you surely detected that enemy id not longely active do ,ignore on it
Fonzy
Posts: 32
Joined: 2004-05-03 17:30:45
Location: OR
Contact:

Post by Fonzy »

How do I know if it is not active? The absurdity is that I tried GetX on the no more existing id, and it gave me the result of where it was last seen!!!
OR
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

try uo.gethp
make sure Track World enabled
Post Reply