Home   Help Search Login Register  

Author Topic: Trigger activating setcombatmodes.......  (Read 1142 times)

0 Members and 2 Guests are viewing this topic.

Offline Ducatisto

  • Members
  • *
  • I'm a noob at this!
Trigger activating setcombatmodes.......
« on: 22 Mar 2004, 17:43:01 »
.......or setbehaviours.

Another noob question. Again I have trawled previous questions and posts and haven't come across a similar solution to what I require. I posted previously regarding a script spawning an attack force to go to a specific location by the way of markers. Okay they do this but how do I set their behaviours when they arrive? They currently get to their respective markers and do squat all. I assume it can be done by trigger but I am again running out of ideas of how to do it efficiently. Do I set their behaviours seperately within the script? or can it be done locally with a trigger? that is whenever the east reach a trigger area it immediately turns their combat mode to red? I am learning slowly but I need educated prompts to push me in the right direction.

Thx.  :)

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:Trigger activating setcombatmodes.......
« Reply #1 on: 22 Mar 2004, 23:31:47 »
You should be able to use a trigger in the manner you require.  Put a trigger in the area and make it activated by east (or whichever side the spawned guys are on).  Then in the on activation field put:

this setbehavior "combat"; this setcombatmode "red"

(Double check my syntax for these commands).

Make sure the trigger is set to be activate repeatedly or else it will only work on the first east guy that enters its area (oh, make sure you make its area large enough for the battle area your require.

Hope that helps.

Offline Ducatisto

  • Members
  • *
  • I'm a noob at this!
Re:Trigger activating setcombatmodes.......
« Reply #2 on: 23 Mar 2004, 02:20:39 »
Thanks rap. It sort of works but they do not move around the trigger area as much as I would like. I was on the right lines but I was hoping to get a more "active" stance from them, more hunter-killer mode. I guess some sort of script in the trigger would be more suitable?

Again thanks for your help  :)