Just running into a problem while making a mission.
I have an east officer imprisoned in a Resistance camp.
I have civillians who more or less switch their loyalities multiple times in the mission. No problem so far. All working nice.
The problem starts when I use
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">civilian setFriend [resistance, 0]; resistance setfriend [civilian, 0][/QUOTE]
when a civillian attack on the camp is about to begin.
As civillians have to attack the resistance side and resistance side is supposed to shoot back there is no easier way then that.
But, as the east officer is set to civillian side aswell by the setcaptive true command he instantly gets shot upon by resistance guards. First i was like : Huh ?
But it makes sense if you think about it.
Anyway, it´s a serious problem for me though as I cant use
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">east setFriend [resistance, 1]; resistance setfriend [east, 1][/QUOTE]
as the player´s role is on the east side and he should be attacked by resistance also.
See the dilemma ?
How do I make the eastern prisoner appear freindly to the Resistance side ?
Editing the mission.sqm is out of question as the prisoner is supposed to follow the east player in one part of the mission.
As setcaptive fails because of the civillian argument I am running out of options.
Any ideas ?