Hi all,
in my current project (First map that I have ever put objectives into) I have two transmitters and two sets of documents (one for each team).
Okay well this is the problem. Allies can take the Axis documents and transmit them and all the stuff comes up like the sound “Objective Captured” my wm_announce comes up and it ends the round setting the winner; yet when Axis transmit the Allied Documents the objectives dissapear but nothing happens… (it doesnt read the info from my script).
So I was thinking that the problem was to do with the script but the script looks to be in order. So I’m not sure what to do :oops:
Anyway, If someone could help me (go through it with me or whatever) it would be fantastic!!
This is all the entities from my map that are used with the Allied documents and Axis transmitter:
| Axis Transmitter: |
|---|
Objective Info:
classname trigger_objective_info
customaxisimage gfx/limbo/cm_transmitter
scriptname axis_transmitter_toi
shortname Axis Transmitter
spawnflags 17
target axis_transmitter_cm_marker
targetname axis_transmitter_toi
track the Axis Transmitter
Flagonly Multiple:
classname trigger_flagonly_multiple
scriptname axis_objectives
spawnflags 2
Command Map Marker:
classname misc_commandmap_marker
scriptname axis_transmitter_cm_marker
spawnflags 1
targetname axis_transmitter_cm_marker
| Allied Documents: |
|---|
Objective Info:
classname trigger_objective_info
customalliesimage gfx/limbo/cm_warplandocs
customaxisimage gfx/limbo/cm_warplandocs
scriptname allied_documents_toi
shortname Allied Documents
spawnflags 18
target allied_documents_cm_marker
targetname allied_documents_toi
track the Allied Documents
Blue Flag:
classname team_CTF_blueflag
message the Allied War Plan Documents
model models/mapobjects/sectretdocs/secretdocs.md3
scriptname allied_documents
Command Map Marker:
classname misc_commandmap_marker
scriptname allied_documents_cm_marker
targetname allied_documents_cm_marker
And here is the scripting:
allied_documents
{
spawn
{
wait 200
setstate allied_documents_captured invisible
setstate allied_documents_cm_marker default
}
trigger stolen
{
setstate allied_documents_cm_marker invisible
wm_objective_status 5 1 2
wm_objective_status 3 0 1
}
trigger dropped
{
wm_announce "Axis have dropped the Allied War Plan Documents!
}
trigger returned
{
setstate allied_documents_cm_marker default
wm_objective_status 5 1 1
wm_objective_status 3 0 0
}
trigger captured
{
wm_announce “Axis have transmitted the Allied War Plan Documents!”
setstate allied_documents_captured default
wm_objective_status 6 1 2
wm_objective_status 1 0 1
wm_teamvoiceannounce 0 “axis_hq_objective_captured”
wm_teamvoiceannounce 1 “axis_hq_objective_captured”
wm_setwinner 0
wait 1500
wm_endround
}
}
Thankyou for any help!!


Hooray for iffys tutorials :lol: