OnPlayerLeftSystem

Post ideas & suggestions you have pertaining to the game here.
Post Reply
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

In Transcendence.xml line 8129 you return 'followPlayer, but this key is not used anywhere else... is the return value from this event used in some way internally?
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

<OnPlayerLeftSystem> is called whenever the player leaves the system. A ship with this event can return:

Nil: This means, do whatever the AI would normally do.

'followPlayer: This means, follow the player through the gate. This is what wingmen and autons do, if they are following the player.

'waitForPlayer: This tells the ship to hold. When the player returns, the <OnPlayerEnteredSystem> event can be used to have the ship do something.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Thanks,

Interesting event, it will come in very handy.
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

:D That's neat!
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
Post Reply