ok, i totally re-did my script for it, basing it off the site Mapping 4 Newbies, because yes i am a newbie. anyways, everything works ok, but when u capture the documents, there is no message and the game doesn’t end
the script
VVV
allied_gold
{
spawn
{
wait 100
setstate allied_truck_toi invisible
}
trigger stolen
{
wm_announce 0 "Return the Axis documents to the getaway plane"
wm_announce 1 "The Allies have stolen the documents"
setstate allied_truck_toi default
}
trigger returned
{
wm_announce 0 "The Axis have returned the documents"
wm_announce 1 "Documents returned! Protect the documents"
setstate axis_gold_toi default
}
trigger captured
{
wm_announce "The Axis have secured the Allied gold"
setstate axis_gold_captured default
}
}
allied_objectives
{
death
{
trigger game_manager obj1
wm_setwinner 1
wait 1500
wm_endround
}
}
this is the trigger_flagonly_multiple
classname trigger_flagonly_multiple
spawnflags 1
scriptname axis_objective
this is the CTF_redflag
classname team_CTF_redflag
scriptname axis_gold
model models/mapobjects/book/book.md3
origin -2272 -2944 456
message the secret documents!
need help
thanks
~l3