Home   Help Search Login Register  

Author Topic: Disguised Units  (Read 1060 times)

0 Members and 1 Guest are viewing this topic.

Offline Arctic

  • Members
  • *
  • In Utero
Disguised Units
« on: 14 Sep 2002, 20:30:34 »
I would like to have some Black Ops people be disguised as Russian soldiers. I know it is not possible to literally dsiguise the units, but I think it would be possible to use setpos getpos to get a Russian Soldier then when I need to, move the soldier away and replace him with the US Black Ops soldier.

How is this command  line:
BlckOP setpos getpos RussDummy select 0, BlckOp getpos RussDummy select 1,1

RussDummy setpos getpos G1 select 0, RussDummy getpos G1 select 1,1

Since I would be using this in an intro, I would just implement this command via script. Is this an ok way to do this? Or is there a better way.

Kaliyuga

  • Guest
Re:Disguised Units
« Reply #1 on: 14 Sep 2002, 20:57:45 »
BlckOP setpos [getpos RussDummy select 0,getpos RussDummy select 1,1]

RussDummy setpos [getpos G1 select 0, getpos G1 select 1,1]

That's the correct syntax ;)  and instead of RussDummy you might want to use a gamelogic or something ;)




Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Disguised Units
« Reply #2 on: 14 Sep 2002, 21:04:01 »
You will have to use a gamelogic.  Otherwise as soon as a the first command is done, the second line will move the unit to the same position as it is already is at.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Disguised Units
« Reply #3 on: 14 Sep 2002, 21:04:19 »
Actually, you can disguise black ops as ruskies.   Or anybody as anybody for that matter.   How cool is that.

Create your black op, call him something distinctive, and click save in the mission editor.   Open up the mission.sqs file in your text editor, find the dude using search/find, and change his vehicle type to east.    Save the file.   (I think its vehicle type .... anyway its one of the things that says WEST, it needs to be EAST.)

Now you can go back to the mission editor and do whatever you like EXCEPT don't double click on the unit because that will undo your sneaky changes.  You might need to put

this setCaptive true

in his init field to stop people from shooting at him.

If you create a bunch of different kinds of unit and then look at the mission.sqm in the text editor you will discover that you can make your black op dude look like anything - officer, soldier, crew, whatever you want.

I haven't checked the syntax but I think your setpos getpos idea would work in principle.    This might be neater though.

Hope all that a) makes sense and b) helps solve your problem
Plenty of reviewed ArmA missions for you to play

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Disguised Units
« Reply #4 on: 14 Sep 2002, 21:06:13 »
Yes but he then becomes that unit and no longer a blackops unit.