OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Rdavies on 23 Jun 2007, 18:52:59
-
Hi,i just wondering how do you you use scripts in ARMA, I know how to use them in OFP, but with arma theres no user file, therefore, i dont know where my missions are to input scripts into the folder. Also, Im currently making a mission where you are a civillian, sabotaging A radio tower, is there a way to make civillians enemies to Russians, as in a better way than "addrating" which is a bit crude when trying to interact with friendly units, i've also tried adding civillians to US and RACS groups, the civillians target russian soldiers, but even grouped like this, the russians do not open fire on the civillians. Any help appreciated.
-
1) da user files r in da "my Documents/ArmA Other Profiles"]
2) 2 give da units a side u can edit da mission.sqm find ur unit and change its side 2 west/resistance... just backup ur file b4 messin w/ it in case u delete sometin important
or u cud try da setFriend (http://community.bistudio.com/wiki/setFriend) command as in
civilian setFriend [east, 0]
east setFriend [civilian, 0]
i think it shud work
LCD OUT
-
Thanks a lot.
-
The technique I always use is to create a west or east unit with a probability of presence of zero. Then you group your civilian units to this west/east unit (i.e., make it the leader). Then these civilians assume the side of their non-existant leader.
-
thanks for the suggestion, i tried it and still the same, they dont see them as enemies, but will be useful for future reference. As for the setfriend command, it seems to make the civillians enemies, as the Russian troops point their weapons, go prone and seem to go into aware or combat mode when their around, but they never fire on them, just point their weapons at them. Any other suggestions?
-
I attached a super-simple sample mission, whith one squad of OPFOR, and a crowd of civilians grouped to a BLUFOR leader who's Probability of Presence slider is set to zero (slid all the way to the left).
The OPFOR slaughters all these civs every time.
I have used this technique multiple times, even had civilians fight each other with some grouped to opfor, and some grouped to blufor, so I don't understand why it didn't work for you...
Try the sample out.
-
I must agree with johnnyboy's method. I find it the most reliable, and it's not difficult to do either.