HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

native ResetTrigger

10-19-2008, 03:32 PM#1
Bobo_The_Kodo
what does it do?

does it clear the trigger of any events/actions?
10-19-2008, 03:54 PM#2
Troll-Brain
No it reset the number of evaluate/execute trigger.
GetTriggerEvalCount and GetTriggerExecCount.
10-20-2008, 02:34 PM#3
Blubb-Tec
Is it just lame or is there a fitting opportunity to use it?
10-20-2008, 03:54 PM#4
Troll-Brain
Avoid to use a variable ? :p
10-20-2008, 04:58 PM#5
Blubb-Tec
Quote:
Originally Posted by Troll-Brain
Avoid to use a variable ? :p
which is actually encouraging the creation of single triggers for each player, e.g. you want to reward a player when he killed 100 units. In order to use TriggerExec/Eval count you would have to make a single trigger for each player.
But yeah, in all single-trigger cases it might actually prove useful :P