I followed a tutorial for making obj: taking obj and carry them to somewhere else.
I think there is a problem with my script file:
game_manager
{
spawn
{
// Set scenario information
wm_axis_respawntime 15
wm_allied_respawntime 10
wm_set_round_timelimit 25
wm_number_of_objectives 2
//we have 2 objectives, taking the documents and transmitting them:
wm_objective_status 1 0
wm_objective_status 2 0
wm_set_defending_team 0
wm_setwinner 0
accum 1 set 0
accum 2 set 0
}
trigger objective1
{
wm_objective_status 2 1
accum 2 set 1
wm_announce "Allied team can now play soccer!"
trigger game_manager checkgame
}
trigger axis_object_stolen
{
wm_objective_status 1 1
}
trigger axis_object_returned
{
wm_objective_status 1 0
}
trigger checkgame
{
accum 2 abort_if_not_equal 1
wm_setwinner 1
wait 1500
wm_endround
}
}
transmitter_obj
{
spawn
{
}
death
{
trigger game_manager objective1
}
}
The game won’t start anymore, and it did before i added the obj. Is there anything wrong with this piece of code or did i made an mistake in radiant?
Thankyou

