ive got a problem here and i hope u can help me.
What i want:
I want, that 1 allied player gathers some documents - and hes the only one, that can bring em to a certain place.
What i have sofar:
Code: Select all
$sniper_barb notsolid
//$funker_trigger loopsound sand_radio
$funker_trigger nottriggerable
$alarm_trigger nottriggerable
thread ziele
level waittill roundstart
level waittill axiswin
end
door_locked:
$door_trigger playsound door_metal_locked
end
wasser:
$wasser volumedamage 20
end
barb_oben:
$barb_oben volumedamage 10
end
alarm:
if(parm.other.dmteam == allies)
{
$alarm_trigger nottriggerable
wait .5
$funker model "animate/pulse_military_radio.tik"
$documents playsound sand_switch
wait .4
$documents loopsound sand_alarm
}
end
ziele:
while(1)
{
$documents_trigger waittill trigger
if(parm.other.dmteam == allies)
{
local.player = local.documentscarrier
$documents playsound sand_documents
$documents remove
wait .4
iprintlnbold_noloc "The Allies have got the documents!"
$funker_trigger triggerable
$alarm_trigger triggerable
break
}
waitframe
}
while(1)
{
$funker_trigger waittill trigger
if(local.player == local.documentscarrier)
{
$radiosound loopsound sand_radio
$funker model "animate/military_radio.tik"
//$alarm_sound stopsound
wait .8
iprintlnbold_noloc "The documents have sent, Allies win!"
break
}
waitframe
}
teamwin allies
endAll Players (incl. Axis) can solve the objective.
Thank you in advance.

