OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: thirdrm on 20 Oct 2006, 22:10:19

Title: Civs changing sides and ammo crate acsess
Post by: thirdrm on 20 Oct 2006, 22:10:19
I was wondering if there was a way to make civilians be nutral to east soldiers then open fire killing some east ppl triggering a response of more east ppl attacking on sight, but then being able to go back to being nutral again after all the east are dead in an  area. Also I was wondering how do you make civilians able to take more then just hand grenades from crates.
Title: Re: Civs changing sides and ammo crate acsess
Post by: JasonO on 21 Oct 2006, 01:24:34
You could make a west unit with a higher rank than all the civs, with probabilty of presence = 0% , then group all the civs with the west soldier.

East will shoot the civs so to do what you want... for each civ do
Quote
unit setcaptive true
  in a script so east dont shoot them.. when you want east to shoot them change from true to false... then vice versa to stop them shooting.

About the crates... civs should be able to  take crates like other units. Is the script to add weapons running on all computers?
Title: Re: Civs changing sides and ammo crate acsess
Post by: thirdrm on 21 Oct 2006, 04:21:45
Well heres the scoop, i have not actualy tested this mission in mp yet, just mission editor. Also how do you change the conidition from true to false during game multiple times?
Title: Re: Civs changing sides and ammo crate acsess
Post by: Chris Death on 21 Oct 2006, 10:15:57
You may also want take a look here (http://www.ofpec.com/forum/index.php?topic=28607.0) where i replied to a similar question including an example mission aswell.

~S~ CD