Discuss this page on this pages [[sysAddEncounterEvent Talk Page|TalkPage]] === sysAddEncounterEvent === See [[http://xelerus.de/index.php?s=functions&function=234|sysAddEncounterEvent at Xelerus]] ^ Syntax | (sysAddEncounterEvent number spaceObject number spaceObject) | ^ Arguments | number: The delay before the encounter event can happens. | ^ | spaceObject: The space object the encounter ships target. | ^ | number: The UNID of the encounter table. | ^ | spaceObject: The spaceObject where you want the encounter ship to appear at. | ^ Returns | condition: True if successful, Nil otherwise. | ^ Category | [[encounter table]], [[system]], [[time]] | ^ Description | Makes a encounter at the given space object. | === Example === (sysAddEncounterEvent 100 gplayership &etPirateAmbush1; gplayership) Makes a pirate ambush 1 encounter 100 ticks after this is called on the player ship targeting the player ship. Return to [[:Functions]] list