Functions Documentation
View Function Edit Function
Name objSetEventHandler
Syntax (objSetEventHandler targetObject handlerUNID) -> True/Nil
Argument List targetObject: the spaceObject we want to attach the event handler to
handlerUNID: the UNID of the event handler to be attacjed
Returns True/Nil depending on success
Category spaceobject, event
Description Allows one to add arbitrary event handling to any object (ships or stations).
Example See &evCommTrafficBehavior; in Vanilla Transcendence for an example