Aller au contenu

Photo

EVENT_TYPE_REACHED_WAYPOINT not fired


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
_L_o_B_o_

_L_o_B_o_
  • Members
  • 117 messages
Hi again. I have a creature with a custom script attached in order to catch some events. The problem here is that it looks like if some events are not being fired. For example, after moving my creature to a waypoint by using the UT_QuickMove() function, I expected that the EVENT_TYPE_REACHED_WAYPOINT would be fired, but it never happens. I have been using PrintToLog() in my script to check if my code was wrong, but I can capture other events like EVENT_TYPE_DIALOGUE, so that not seems to be the problem. I have also tried EnablevEvent() without success. Any help will be appreciated...

#2
Craig Graff

Craig Graff
  • Members
  • 608 messages
EVENT_TYPE_WAYPOINT_REACHED is specifically for CommandMoveToMultiLocations.

#3
_L_o_B_o_

_L_o_B_o_
  • Members
  • 117 messages
Thank you Craig. I would like to add that you need to add more than one location to CommandMoveToMultiLocations(). If it is used to move a creature to only one location, the event is still not fired. Obviously it can be solved for example repeating the same location twice.