"Skill Use Occured" Trigger Re-revisited
Posted: Mon Jun 10, 2002 8:56 am
The "Skill Use Occured" trigger works, and here's how I used it earlier this evening:
The only problem with this arrangement is that you are basically limited to using Prefab characters since AFAIK those generated at the beginning of a campaign do not have the "Enable Script Events" field ticked/checked and this is crucial to the setup.
While this is of help to SP Map Rats, it's not all that helpful to campaign-oriented Map Rats like myself. For instance, I wanted to simulate having an alarm sound if someone tampered with a switch and fucked it up. While it can be done, if the player is using his/her own character the alarm won't sound if he/she fails when attempting to throw the switch.
Ah well...back to the drawing board...
OTB
- Set up a trigger with "Skill Use Occured" and an Object Script State depending on a Science Switch's Script State. (In this case it was "off" [unticked/unchecked].) The field containing the Tag Name of the Entity which is to use the skill was left blank, but the Tag Name of the switch was entered.
- "Enable Script Events" was ticked/checked for my technologist recruit on the map.
- Several Raiders were assigned a Tag Name.
- The actual trigger's conditions were that the skill use (Science) had occured, and the switch was still in the off position. The action was to kill the hapless Raiders by way of electrocution.
The only problem with this arrangement is that you are basically limited to using Prefab characters since AFAIK those generated at the beginning of a campaign do not have the "Enable Script Events" field ticked/checked and this is crucial to the setup.
While this is of help to SP Map Rats, it's not all that helpful to campaign-oriented Map Rats like myself. For instance, I wanted to simulate having an alarm sound if someone tampered with a switch and fucked it up. While it can be done, if the player is using his/her own character the alarm won't sound if he/she fails when attempting to throw the switch.
Ah well...back to the drawing board...
OTB