OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: beretta on 12 Apr 2005, 20:44:14
-
what about a script that makes the civilans join resisitence and they get a handgun if they do but they can only join resistence is this a good idea or has it been made before if so i need it
-
Y'know, it took me a few tries before I figured out what you wanted. In the English grammar, there's this brilliant little invention. It's called the dot. It's really easy to use but still very efficient. ;)
As for the script... Well, it wouldn't exactley be a script. More like 4 lines of code in a trigger... :P
:beat: *Gets Shot* :beat:
-
What do you mean by 'join resistance'? Do you mean, go up to a resistance guy, select a action, and them become on the resistance side? :P
-
an action like "join resistence" just like geting in a car
-
I don't think a unit can change sides once a mission has begun.
Civilian are usually always friendly to the resistance side anyway.
Planck
-
What Planck said is true, but there might be a way around it. You could try grouping the civilian to a high ranking resistance officer, set the officer's probablity of presence to 0, and setcaptive true the civilian. Then, when the civilian joins resistance, setcaptive false him.
Just an idea, I'm not sure how feasible it is. Will units enemy to resistace still target a captive unit, but not shoot?
-
enemy units to the resistance will only target a captive if you do something like shoot a round somewhere or shoot one of them then they aim at you but dont fire
But that sounds like it would work