ok guys i dont know if this has been done or not and yes i have done a search before posting I want to do a recreation of a map from America's Army, the one i want to do is the Bridge one, where one team has to make their way accross the bridge and get to the end of the road, i want to recreate this obj in mohaa. I'm guessing i need a trigger_multiple at the exit zone and in scripting tell it not to do anything for the other team.
So could you guys help me out a little, i can make simple scripts like light switches and such but trying to work this one out made my head hurt
goal_reached:
while(1) {
$escape waittill trigger
if(parm.other.dmteam == allies) { // parm.other is the triggerer
iprintlnbold_noloc "The allies have escaped!"
teamwin allies
break // out of while loop
}
waitframe // "CPU protection"
}
end
It should work. I am attempting the same thing in my snowy escape map. I have the allies starting unarmed (they will have to find weapons)
To make it a little more difficult I am attmepting to place the allied meeting place (where 5 allies must get to, to win) to be random. Similar to the Hunt where the flak is in different locations near the church.
This way the axis could not camp the meeting point and gun down the allies.