Aller au contenu

Photo

Problem with IsFollower (solved)


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
anakin5

anakin5
  • Members
  • 258 messages
I am overriding the event EVENT_TYPE_COMMAND_COMPLETE only for my active party members.
The really start of my main function look like this :
if(!IsFollower(OBJECT_SELF))
    {
        HandleEvent(ev);
        return;
    }

In the Human Noble origin quesline, after the kitchen fight, it seems that Eleanor is considered as a follower and she execute the code that follow the previous test.

I think that IsFollower return TRUE in case of Eleanor during a little time window after the kitchen fight causing her to execute my code.

Moreover, what Eleanor do is being teleported to the waypoint ZZ_BHN_WP_RATS, while my code has nothing to do with this kind of action.

I would like to know if someone has an idea of what can append here ?

Modifié par anakin5, 28 décembre 2009 - 08:27 .