:banghead: Hi all :banghead:
Got a problem, I made a Forward spawn flag. But some things are really crazy.
Problem 1:
When Axis capture the flag there is no problem, they spawn at the second spawn. But when Allied capture the flag, I disconnect and I get this message
G-Scripting:alertentity cannot find targetname ''flagspawn''
This is my script for the Forward spawn flag.
trigger flag1_firstred
{
accum 1 abort_if_not_equal -1
accum 2 abort_if_not_equal 0
accum 1 set 0
}
trigger flag1_firstblue
{
accum 1 abort_if_not_equal -1
accum 1 set 1
accum 2 abort_if_not_equal 0
alertentity flagspawn
alertentity flag1blob
setautospawn "Robot Spawn" 1
wm_announce "^3Allies have captured the flag"
}
trigger flag1red
{
trigger game_manager flag1_firstred
accum 1 abort_if_not_equal 1
accum 2 abort_if_not_equal 0
alertentity flagspawn
alertentity flag1blob
accum 1 set 0
setautospawn "Allied Side" 1
wm_announce "^3Axis have reclaimed the flag"
}
trigger flag1blue
{
trigger game_manager flag1_firstblue
accum 1 abort_if_not_equal 0
accum 2 abort_if_not_equal 0
alertentity flagspawn
alertentity flag1blob
accum 1 set 1
setautospawn "Robot Spawn" 1
wm_announce "^3Allies have captured the flag"
}
}
flag1
{
trigger axis_capture
{
trigger game_manager flag1red
}
trigger allied_capture
{
trigger game_manager flag1blue
}
trigger del
{
remove
}
}
}
I searched for tutorials but they don’t give me the information I need. The error says taht I’ve got to do something with the targetname ‘‘flagspawn’’.
Plz give me information and help me with this :banghead:
Mapper X 

