Make a team win the round in DM...
I looked in V2, but you can't use obj stuff in DM maps..
How do I..
Moderator: Moderators
-
HeavenBound
- Colour Sergeant
- Posts: 85
- Joined: Thu Sep 11, 2008 12:55 am
How do I..
HeavenBound
I'm new at this
I'm new at this
-
SilentAngel
- Captain
- Posts: 239
- Joined: Wed Mar 12, 2008 8:27 pm
try this:
Code: Select all
teamwin( String axis_or_allies )-
HeavenBound
- Colour Sergeant
- Posts: 85
- Joined: Thu Sep 11, 2008 12:55 am
A typical use case for parm.other magic 
Code: Select all
if (parm.other.dmteam == "allies")
teamwin "allies"
-
HeavenBound
- Colour Sergeant
- Posts: 85
- Joined: Thu Sep 11, 2008 12:55 am
How would I make a team immune to a trigger?
I tried
but I get the error
**Edit: Got it. Thanks anyway.
I tried
Code: Select all
if(parm.other.dmteam == allies)
{
parm.other notTriggerable
}
Code: Select all
parm.other notTriggerable (maps/dm/mohdm1.scr, 105)
parm.other ^
^~^~^ Script Error: Failed execution of command 'nottriggerable' for class 'Player' Targetname 'player'
**Edit: Got it. Thanks anyway.
HeavenBound
I'm new at this
I'm new at this
-
SilentAngel
- Captain
- Posts: 239
- Joined: Wed Mar 12, 2008 8:27 pm
what about this at the very begin of you trigger thread:
Code: Select all
if(parm.other.dmteam == "allies")
end
//then the rest of your thread script to be exec in case it's not allies