User Tools

Site Tools


modding:function:sysaddencountereventatdist

Discuss this page on this pages TalkPage

sysAddEncounterEventAtDist

See sysAddEncounterEventAtDist at Xelerus

Syntax (sysAddEncounterEventAtDist number spaceObject number number)
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.
number: The distance from the target you want the encounter ships to appear at.
Returns condition: True if successful, Nil otherwise.
Category encounter table, system, time
Description Makes a encounter at the given distance from the space object.

Example

(sysAddEncounterEventAtDist 100 gplayership &etPirateAmbush1; 100)

Makes a pirate ambush 1 encounter 100 ticks after this is called 100 light seconds from player ship targeting the player ship. Return to Functions list

modding/function/sysaddencountereventatdist.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1