Welcome, Guest Sunday 20th April 2014, 22:27:53
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: I'm going crazy  (Read 305 times)
0 Members and 1 Guest are viewing this topic.
nominesine
Intel Depot
Administrator
*****
Offline Offline


I'm NOT back!


WWW
« on: 08 Jan 2003, 23:20:11 »

I'm going crazy... Either I've had a brain hemoraghe or maybe this topic is more complicated than I believed:

I want to change the SIDE of a CIVILLIAN into WEST or EAST. I want to be able to switch the SIDE of the CIVILIAN UNIT from EAST to WEST several times during the same mission.  

The reason is: I want to make  under cover missions. Missions where the surroundings react to a CIVILLIAN as an EASTern soldier or a WESTern equivalent in different situations.

How do I do it?

addrating and setCaptive commands works if I only want the enemy to start shooting at someone they normaly wouldn't fire at. But it makes the process of scripting and triggering fuzzy and unpredictable. There must be a simple solution. What is it??? Plz help Huh? Huh?
Logged

OFPEC | Intel Depot
RETARDED Ooops... Retired!
KTottE
Former Staff
****
Offline Offline



« Reply #1 on: 09 Jan 2003, 23:28:54 »

Ah, I don't think there is.
The only way I know of actually changing the sides of a unit, is by "hacking" the mission.sqm file, which means you can't change it around during the game.
Logged

"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"
Ottie
*
Offline Offline


And you think this is personal


« Reply #2 on: 10 Jan 2003, 11:56:19 »

There is a soulution to this problem.

Assign the civillian to a west or east or resistance group then it will change from side automatically.

Example:

Create a west soldier.
Create a east soldier, in the initfield of the soldier write

GroupAlpha = group this; deleteVehicle this

Create a civillian  with the name civ1

Create a radio trigger with in the activation field

[civ1] join GroupAlpha

Then you will see that the west soldier will see the civilian as an east unit and the west soldier will kill the civillian.

Ottie

I have tested it and it worked for me.
Logged

If you can't beat them, buy them
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: