Home   Help Search Login Register  

Author Topic: How to make a firing squad  (Read 1493 times)

0 Members and 1 Guest are viewing this topic.

Offline MythPro1

  • Members
  • *
  • That is not your daddy's shotgun, Cowboy!!!
How to make a firing squad
« on: 09 Oct 2002, 17:24:49 »
In the only mission that I ever work on  :D I have a long truck ride to the end of the mission. I want to make it more interesting so I figured a firing squad would work well. I know what I need to do but not the code. I would set up a trigger when the truck got to a certain point and have East fire at unarmed west units. Use the remove weapon code for the troops and I believe target(name) for the east and dofire or what not.
Hey i'm trying  ;D

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:How to make a firing squad
« Reply #1 on: 09 Oct 2002, 22:03:34 »


[attachment deleted by admin]

Kaliyuga

  • Guest
Re:How to make a firing squad
« Reply #2 on: 09 Oct 2002, 22:15:22 »
  Hmm.... why can't you just make the West soldiers captives using:
this setcaptive true
in their inits...

and then when you want em to get shot change it to

unitname setcaptive false
in a trigger or waypoint of the East squaddies...

Once they're no longer captive, the East guys should bust a cap in em all by their selves... eliminates the whole dotarget, dofire stuff  ;D

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:How to make a firing squad
« Reply #3 on: 10 Oct 2002, 01:13:08 »
yup!  'tis what my sample shows too (plus a few old tricks)  8)

Offline MythPro1

  • Members
  • *
  • That is not your daddy's shotgun, Cowboy!!!
Re:How to make a firing squad
« Reply #4 on: 10 Oct 2002, 03:04:12 »
Thanks Tomb appreciate all the help you've given me. :afro:
True Kaliyuga but then i figured that the East will just fall prone and do it that way.

Kaliyuga

  • Guest
Re:How to make a firing squad
« Reply #5 on: 10 Oct 2002, 03:07:18 »
this setunitpos "up"


really.. get a copy of the command references ;D

Offline MythPro1

  • Members
  • *
  • That is not your daddy's shotgun, Cowboy!!!
Re:How to make a firing squad
« Reply #6 on: 10 Oct 2002, 17:16:05 »
Yep did, but Tomb I have arrived to a problem. I grouped the "surrendering" soldiers together and called them Morons just like in your sample. But if I do "_x switchmove ""FXStandSurUniv"" Foreach morons" it doesnt work, something like Typed String Unknown.... forgot rest I know what it means but its typed exactly like the one in your sample but I won't cooperate.  :'(  :'(

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:How to make a firing squad
« Reply #7 on: 11 Oct 2002, 10:15:07 »
Quote
"_x switchmove ""FXStandSurUniv"" Foreach morons"

"_x switchmove ""FXStandSurUniv""" Foreach morons