OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: B-2-0 on 25 Oct 2003, 03:12:21
-
Is it possible to define which side an empty vehicle is on??
For example; I want to use an east vehicle for west side but it will show up on east radar as green even though a west player is onboard...not good.
The vehicles will also be respawning so this needs to be taken into consideration.
Thanx in advance.
-
if you go into the mission.sqm and edit the side there, that may work.
Firefox [Zeus Spartans] played around with this a bit m8, might be better to ask him
-
U can't change it in the mission.sqm as it's side is set to 'Empty' but there must be a way because u can set resistance to be friendly to east or west and the colour id on the radar would have to change accordingly, right?
I am thinking it could be done with a script that detects which side the player who has got in is on and then set's the vehicles side depending on that....but i have no idea what the syntax would be for it.....this script would have to run each time the vehicle respawns....any takers?
[Edit] Hmmm....i have just discovered that even if u set a manned east vehicle to west in the mission.sqm it still shows up as enemy and it even attacks u...lol.
Also, with resistance friendly to west, a res vehicle shows up as white on the radar, not green....but with res friendly to east it shows up as red....therefore, when res is set friendly to west there must be some sort of script running that makes the res vehicles show as white, meaning u should be able to do it with any vehicle, right?
Or not? :-\