Home   Help Search Login Register  

Author Topic: I'm going crazy  (Read 1492 times)

0 Members and 1 Guest are viewing this topic.

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
I'm going crazy
« 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 ??? ???
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline KTottE

  • Former Staff
  • ****
Re:I'm going crazy
« 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.
"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!'"

Offline Ottie

  • Members
  • *
  • And you think this is personal
Re:I'm going crazy
« 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.
If you can't beat them, buy them