HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

common.j trigger funcs, what do they mean?

08-31-2004, 02:22 AM#1
fugly
native ResetTrigger takes trigger whichTrigger returns nothing

native TriggerEvaluate takes trigger whichTrigger returns boolean
native TriggerSyncStart takes nothing returns nothing
native TriggerSyncReady takes nothing returns nothing

what do these things mean? thx for answering
09-01-2004, 12:47 AM#2
Guvante
Quote:
Originally Posted by fugly
native ResetTrigger takes trigger whichTrigger returns nothing

native TriggerEvaluate takes trigger whichTrigger returns boolean
native TriggerSyncStart takes nothing returns nothing
native TriggerSyncReady takes nothing returns nothing

what do these things mean? thx for answering

ResetTrigger resets all conditions, actions, and events for a trigger
TriggerEvaluate evaluates all conditions for a trigger, and returns whether they passed

TriggerSyncStart and SyncReady are used for doing things like loading and saving, including the game cache and games themselves

By the way, the only one I knew was trigger evaluate, I simply searched for the others and found them in like 2 seconds, so next time, try searching before asking ;)