HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

triggeradd action Q

08-03-2003, 12:41 AM#1
piRo-piOn
ust a small question, when you use the triggeraddaction function and for the action you add a function with a variable parameter, will it define that value then or when the action is done?

(btw, its psuedocode... im away from computers for two weeks and can't write too well)

example:
set ugd_integerA = 2
TriggerAddActions(trig1, randomFunction(IntegerA))
set ugd_integerA = 4
run trig1

now if trig1 divided the paramater by 2 would the result be 1 or 2? (basically what i am asking is if it will read the value of integer A when i first initialized the action or when the trigger is run)