sysAddObjRecurringTimerEvent

Freeform discussion about anything related to modding Transcendence.
Post Reply
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

sysAddObjRecurringTimerEvent is a very useful function, however, I have a few questions about it.

1. Where does it expect the event to be located? If I want to create a recurring timer event to be called by the playership, do I need to describe the event in the playership definition, or can I (and I would prefer if this is the case) declare the event in the item or object that causes the event to be created.

2. Is it possible to stop recurring timer events? If not, I have a function to request.
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

to cancel it: (sysCancelTimerEvent gSource "eventtobecanceled")

i cannot say for sure where the game expects it to be located, but from my experience it looks for it in the <events> tag of the object using it(the player for all of mine) i tried putting the recurring event in a device on my ship, and it did nothing, so i put it on my ship directly and it works fine.
Post Reply