Problems with triggers
Posted: Tue Jan 09, 2007 11:30 pm
Hi all,
Can anyone help me with the problems I have with triggers (probably because I totally misunderstood their usage.)? In order to make things clear, I’ve made a small level which can be found here: http://www.fokides.dyndns.org/downloadfile.htm
or here: http://4grpe-a-athin.att.sch.gr/download_file.htm
In front of a number of moving platforms, there are poles/switches, which are models associated with triggers. Every trigger is triggered with the “use” key.
Case1:
A trigger to trigger a moving platform every 5 sec.
Problem: The Moving Platform isn’t always triggered after pressing the “use” key. Reducing TimeOn in trigger, results strange sound problems (scratching), before the actual movement of the model associated with the Moving Platform. The scratching is the audio file that should be played when the moving platform is activated.
Case 2:
A trigger to trigger two moving platforms at once.
Problem: Moving Platforms aren’t always triggered after pressing the “use” key if TimeOn and TimeOff fields in trigger are set to 1 sec. If the above fields are left blank, pressing simultaneously the “use” key, stops both the models associated with the moving platforms, but doesn’t restart both of them.
Case 3:
A trigger to trigger a moving platform and a trigger (which triggers another moving platform)
Problem: It doesn’t work no matter what. Isn’t the field TriggerName in a trigger supposed to trigger the trigger?
Case 4:
A logic gate (type 0) to activate a moving platform, when both triggers are on.
Problem: It works if TimeOn and TimeOff fields in both triggers are set to 1 sec. How can I keep one of the triggers on (in no particular order) until the second one is activated?
In all cases: Depending on how the animation keys are set in models (especially when using 0.1 keys), when a trigger is activated, there is a flickering movement of the models (along with the scratching sound), until the actual movement starts.
PS 1
The design of the new web site is great.
PS 2
A previous post concerning SoundtrackToggle is still left unanswered.
PS 3
ScreenShake entity and ScreenShake field in Explosion require an EnvironmentSetup entity. This is not documented anywhere.
Can anyone help me with the problems I have with triggers (probably because I totally misunderstood their usage.)? In order to make things clear, I’ve made a small level which can be found here: http://www.fokides.dyndns.org/downloadfile.htm
or here: http://4grpe-a-athin.att.sch.gr/download_file.htm
In front of a number of moving platforms, there are poles/switches, which are models associated with triggers. Every trigger is triggered with the “use” key.
Case1:
A trigger to trigger a moving platform every 5 sec.
Problem: The Moving Platform isn’t always triggered after pressing the “use” key. Reducing TimeOn in trigger, results strange sound problems (scratching), before the actual movement of the model associated with the Moving Platform. The scratching is the audio file that should be played when the moving platform is activated.
Case 2:
A trigger to trigger two moving platforms at once.
Problem: Moving Platforms aren’t always triggered after pressing the “use” key if TimeOn and TimeOff fields in trigger are set to 1 sec. If the above fields are left blank, pressing simultaneously the “use” key, stops both the models associated with the moving platforms, but doesn’t restart both of them.
Case 3:
A trigger to trigger a moving platform and a trigger (which triggers another moving platform)
Problem: It doesn’t work no matter what. Isn’t the field TriggerName in a trigger supposed to trigger the trigger?
Case 4:
A logic gate (type 0) to activate a moving platform, when both triggers are on.
Problem: It works if TimeOn and TimeOff fields in both triggers are set to 1 sec. How can I keep one of the triggers on (in no particular order) until the second one is activated?
In all cases: Depending on how the animation keys are set in models (especially when using 0.1 keys), when a trigger is activated, there is a flickering movement of the models (along with the scratching sound), until the actual movement starts.
PS 1
The design of the new web site is great.
PS 2
A previous post concerning SoundtrackToggle is still left unanswered.
PS 3
ScreenShake entity and ScreenShake field in Explosion require an EnvironmentSetup entity. This is not documented anywhere.