My question is: Is there a way to check the object (and thus the resource or the tag) of the item that sent this event?
GetEventCreator(ev); only returns the player (default_player)
Edit: not even a second later after posting I solved it.
GetEventObject(ev,2); returns the item used to activate it.
Modifié par KigenBarzhad, 22 mars 2010 - 09:57 .





Retour en haut






