Home   Help Search Login Register  

Author Topic: which player activate the trigger in a coop mission  (Read 914 times)

0 Members and 1 Guest are viewing this topic.

Offline Flaber

  • Members
  • *
    • Escuadron 13th TigerSharks
which player activate the trigger in a coop mission
« on: 17 Nov 2004, 17:24:24 »
I'm making a MP mission, with 3 squads of 5 soldiers each one. The soldiers will be controlled by human, not by A.I.

I have made also a scritp that do the following things when activated via trigger:

1 - Create a group of enemy units that board into a helicopter
2 - Go to the position where the player activated the trigger and parachute the enemy group.
3 - The enemy group start hunting the squad of the player who activated the trigger.

that works on S.P. but in M.P. doesn't works, unless I set the script to hunt a specific unit (e.g. the leader of squad number one called "ts1") that way works, but enemy will only hunt this unit and his group, but not the other groups.

How can I know which player activated the trigger and get his position in a coop mission?

(note: I'm ussing markers and publicVariable command to show where are the groups, only for betatesting purpose)

I have attached the scritp, but  i'm using spanish for variables and loops
Sorry for my english.