hi everyone… i have one question about my objectives… so i have “West Radar Parts” & Gun controls. To complete the map, allies need to secure the radar parts & destroy the gun controls. Everything is fine (the map ends) when there is a sequence of events: first the gun controls are destroyed then, the radar parts are secured. But when i secure the parts & then destroy the gun controls, the map does not end… maybe i need of some sort of a trigger which counts the objectives, but dont know how to make it, or if there is another way to make the script not to follow a sequence, pls write it here… i searched the forum but couldnt find an appropriate thread & post… :blah:
Objective Question
Didn’t have the chance to make scripts yet, but I do program in Visual Basic and C++ (me? showoff? no way!) and I know that if I had this problem I was building my own function that would check the two conditions (gun controls & radar parts) and if they are both set to true.
Then I would add a call for this function both in the controls destroyed event and the radar parts secured event.
Of course it is important to place those calls after you update your flags (wether the objective is completed or not)
I really hope I’m not misleading you, I just try to help from my experience as people helped me…
Byzantine requires return of two objectives. Here’s what the victory script looks like:
trigger obj2 //Return of Axis Gold and Radar Parts
{
accum 2 inc 1
trigger game_manager allied_checkgame
}
trigger allied_checkgame // Check to see if both objs have been returned
{
accum 2 abort_if_not_equal 2
wm_setwinner 1
wait 1500
wm_endround
}
Return of each obj calls the obj2 script, which increments the number of victory conditions until it reaches 2
yeah ifurita, 15 mins ago i read ur .pdf tutorial about scripting & it WORKS PERFECTLY! TNX for ur tutorial & as i can see here, you posted the part i needed :D… tnx again 
BTW my map, Sofia reached beta phase 2, & now i am adding details, gonna post some screens till the end of the week…