OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Nobby on 16 Sep 2002, 21:57:04
-
How'd you get the whole of one side to react to a civvys actions.
e.g. Me (civilian) has just shot a Russian soldier point blank in the head with all his mates standin around watchin, yet they don't do owt. Now either they didn't like the commie bas***d(Scuse my Rastafarian) or they didn't have the command to all start firing on him, and I'm not just talkin 2 or 3 guys, I want every East player to start on me, and not havin to set up a trigger with [a1, a2 la la la la di da a41, a42] doFire Me.
Is there a script out there to do this?
Cheers
Nobby
-
The easiest way would be to group YOU (the civ.) to some western group or whatever
(or changing yer SIDE from civ to west via the mission.sqm file; see bottom of this rep.)
Then yer INIT field just need a :
THIS SETCAPTIVE TRUE
...and then this trigger :
Condition = NOT(alive NameOfGuy)
On Activ. = YourName Setcaptive False :-*
------------------------
If ya don't wanna be grouped to the west, do the following stuff :o :)
Make yer guy, name him - it's always a good thing to do!
Then save & exit the mission.
ALT+TAB out to windows.
Then open the mission.sqm file using NOTEPAD.
Locate the player d00d and change his SIDE to WEST :D
Save & exit - alt+tab back and see the crap working!!! 8) ;D
---------------------------------
P.S.
The mission.sqm is hidden here:
OFP / Users / YourName / Missions / NameOfMission <---- THAT's THE ONE
-
Cheers mate.
The Perfect answer to a perfect question if I may say so myself.
Cheers again
Nobby