OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Knut Erik on 23 Jun 2003, 23:55:47
-
Is there any way to detect if someone is in a trigger?
Not all the units in
WEST/EAST/RES/CIV
and not
GROUP LEADER/WHOLE GROUP/VEHICLE
But two units in my group.
Can I make the trigger activate when I (the player) and nr3 in the group is in it?
Player in thislist && Nr3 in thislist ???
I'm realy stuck :-\
-
how about:
player in thislist AND units player select 2 in thislist
units group player select 2
Method 2 goes for the case that player is not groupleader
~S~ CD
-
@ Knut - ur way shud work if u make activated by da side of da player - nd use dat line instead of this
@ chris - it wil work - til a limit - if unit dies da units array changes :P
LCD OUT
-
@ chris - it wil work - til a limit - if unit dies da units array changes
If there's the need you can always save Nr.3 into a variable,
before anything inside the group changes:
number_3 = units player select 2
Now there can die as much as want, it will still be the
same Nr.3 :P
If that was what u meant LCD
~S~ CD
-
yeah - but den wats da difrent between dat nd namin da unit ? :P
it just da same way as his :P - just longer ;)
LCD OUT
[edit] oops ;D i need 2 pay more atention ::) - i was thinkin he named his unit nr3 :o ::)
nd da answer wil b of course - name him :P
-
:o
got it;
Knut wants to name his nr.3 as "NR3"
hmm - would have prefered something more
reliable like CD or LCD or simply wsoldier3 ;D
OK, if you give that guy the name: nr3, then you're already
on the right track Knut ;)
~S~ CD
-
hmm - would have prefered something more
reliable like CD or LCD or simply wsoldier3 ;D
like da word game ::) :wow:
read wat i just got - edited ma post ;D
LCD OUT
-
lmao LCD - you turned to think what i thought,
and me turned to think what you thought b4
ROFL
However - yeah NAME HIM NR3 and all should work.
~S~ CD
-
k here isi da final agreement ;D
name da mofo nd da prob wil b solved (as long as he carry his name discs ::) - or however u name dat thingy dat soldiers carry on his neck ::) ;D)
LCD OUT
[edit] nd 2 sum it all between me n death
(http://www.spielerboard.net/images/smilies/lool.gif)
(http://lcd23.tripod.com/anim-jjd.gif)
-
Eh.. ;D
Well, I got it to work ;) :D
Looks like you two have had a heluva time solving it, so THANKS a lot!
No problemo to have trouble with ofp editing when you guys are around 8)
*Topic solved n locked*