I one goal designing this simple as possible yet usefull, now i hope you find it it usefull.
http://dl.dropbox.com/u/3676056/wave_script.rarCode:// SUPER DUPER SIMPLE WAVE SPAWN SCRIPT BY HEAD // add [] execVM "init_wave.sqf"; to init.sqf (make sure it's run server only) /* hea_spawnLoc is a array of markers, the enemy wave will spawn there. hea_attackLoc is a array of markers, the enemy wave will move there after spawning. Note: Both arrays are randomized. hea_wave_side is cruical to be set to the right side. WEST / EAST / resistance. hea_wave* is a array of classname's that will spawn on that wave. one for each wave should be present. hea_wave_dir : just if you move / rename the directory containing the scripts. hea_pre_stage_mode : behavior mode before stage marker hea_post_stage_mode : behavior mode after attack marker. Additonal features placeing a marker with markername of a spawn for example spawn_stage will mean that the enemy forces will mount up if they can and move to the stage location with thier mode set to hea_pre_stage_mode where they will dismount and switch behavior to hea_post_stage_mode and continue thier attack.
Questions?...
EDIT: this requires the function model on the mission (default on folk base)


Reply With Quote


