Home   Help Search Login Register  

Author Topic: Why won't they fire?  (Read 597 times)

0 Members and 1 Guest are viewing this topic.

Jabani

  • Guest
Why won't they fire?
« on: 31 Dec 2002, 21:14:37 »



Alright, I've got a short firing squad movie, and the soldiers won't shoot at the civilian (with the dofire command). So I changed the civvy to a resistance militia with no weapons and set the soldiers to careless (so they wouldn't fire). Then in the script I set them to aware, but they won't take their weapons out. What gives with all this?











Kaliyuga

  • Guest
Re:Why won't they fire?
« Reply #1 on: 31 Dec 2002, 23:07:11 »
 Do this...  

make a group leader for those civs.. and make sure he's an enemy... when the mission starts.. all the civs in the group will think they are whatever side their commander is on ...

you can do one of three things with that group leader..

1) let him live
2) kill him with setdammage
3) use deletevehicle  ... or is it deleteunit ? ;D

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Why won't they fire?
« Reply #2 on: 31 Dec 2002, 23:21:39 »
let me guess...to keep them from hitting the ground, you gave them a 'setunitpos "UP"' command? well, this has the unfortunate side effect of not allowing people (AI) to unsling their weapons, maybe because it's built into their code to hit the ground automatically...or something. :P

so, either let them stand with their weapons unslinged, and use the "setcaptive" command (info on how to use in comref), or somehow work it into the script to set their unitpos to "AUTO", let them unsling, and then do a "UP" again. Or somesuch.

right, g'luck. And happy new year :D

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

vulcan

  • Guest
Re:Why won't they fire?
« Reply #3 on: 31 Dec 2002, 23:33:57 »
hmmmm

first set :  soldier dotarget civie

then either:  soldier dofire m16

or

soldier dofire civie   i forgot which

then just open the mission sqm file and switch the civilains side to "east"  :)
« Last Edit: 31 Dec 2002, 23:35:26 by vulcan »

Jabani

  • Guest
Re:Why won't they fire?
« Reply #4 on: 01 Jan 2003, 01:38:18 »
Wolfrug you about have it. I'll try all this stuff- thanks all.