stargate event questions

Post ideas & suggestions you have pertaining to the game here.
Post Reply
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

What events are valid on a stargate?

I've got a stargate starting as inactive (similar to the heretic gate) and a simple dockscreen allows the player to activate the gate for a fee. The problem is that I want to to deactivate the gate once the player has used it.
I've tried : <OnEnteredGate> <OnEnteredSystem> <OnPlayerLeftSystem> but none of them appear to fire.
Any help would be appreciated.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

not sure 100% if I'm right, but i think that those events are ship events.

you can put <OnPlayerLeftSystem> on the playership, and close the gate, that should work.
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.

For our class, we'd need to make a base type of playership & all the others would have to inherit it, seeing as the event won't transfer if you sell your ship for a new one. And putting it in all the playerships would be messy.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

The issue is resolved.
The gates now have virtual ships that act as controllers to control the de/re-activation.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
Post Reply