Home   Help Search Login Register  

Author Topic: Need some help about triggers...  (Read 384 times)

0 Members and 1 Guest are viewing this topic.

EFileTahi-A

  • Guest
Need some help about triggers...
« on: 18 Aug 2003, 19:16:44 »
Hello folks it has been a while since I last come here... (about september 2002)

I would like to kown a few things:

1 - How can I  fire a trigger only when a certain menbers are present in it?
     Say, I want  to trigger it only when some my man are present with an specific
     enemy

2 - Is is possible to use the "hint" command only to a specific person?
     To make it privete and not global.

3 - How can I get the name of a man that first fired a trigger?

Tks 4 ur attention!


     

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Need some help about triggers...
« Reply #1 on: 18 Aug 2003, 19:22:43 »
1.  Create your trigger.   Now group it to the leader of the group you want to fire it, as if it was another loon.   You now have new options in the Activation box.

2.   Dunno.   Suspect not.

3.   Every trigger returns the array thislist which is an array listing all the units that would fire the trigger.  (At least I think that's what it is, there may be slightly more to it than that.)     So you would have something like:-

On Activation:   hint format ["The trigger was fired by %1", thislist select 0]

Syntax not guaranteed and I'm not sure if it will work, but worth a try.

PS - Welcome back!
« Last Edit: 18 Aug 2003, 19:23:12 by macguba »
Plenty of reviewed ArmA missions for you to play

EFileTahi-A

  • Guest
Re:Need some help about triggers...
« Reply #2 on: 18 Aug 2003, 19:44:52 »
Hello,

Tks 4 the help but I still haven't figure out how to do those things...

The "hint format ["The trigger was fired by %1", thislist select 0]" its kind of strange
because some times it says <null> then sometimes says Guer Blue:1 or something...
And am the one who is always triggering it... anyway i can't get the name of the unit anyway :(  I mean the name that i put in my soldiers (resistance1, resistance2... 8)
So i can't work on that...

If "hints" are public how can be missions in multipayer that says :
 
 "Warning u are leaving area limite" - We never kown to who is the messenge..."

Tks 4 ur attention once more... and incoming help will be tremendious apreciated...

sry 4 my crappy engish...

_Ross_

  • Guest
Re:Need some help about triggers...
« Reply #3 on: 18 Aug 2003, 20:13:41 »
i think a hint can be private, so when you want the himt to activate, on activation of the trigger: [dude] exec "hint.sqs"
might work

Agent Fire

  • Guest
Re:Need some help about triggers...
« Reply #4 on: 18 Aug 2003, 21:11:04 »
ever tried to un-pbo an mplayer mission?