To force an ai to shoot

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Butch
Lieutenant Colonel
Posts: 398
Joined: Fri Jan 24, 2003 11:30 am

To force an ai to shoot

Post by Butch »

To force an ai to shoot, would I put in:
say the shooter is $bill and the victim is $bob

$bill aimat $bob
$bill anim fire

??
PFC.Butch
B Company, 2nd Ranger Battalion
US Army
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

try it it just might work.
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

$player shootat $mrniceguy

also try lookat and turnto
hope this helps, prob not cos it's all foreign 2 me :-/
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

$bill aimat $bob
$bill fire

Will work, but he won't play any shooting animations (i.e. he will fire without pulling the trigger).
Image
User avatar
Butch
Lieutenant Colonel
Posts: 398
Joined: Fri Jan 24, 2003 11:30 am

Post by Butch »

so, the only thing missing will be his finger moving?
PFC.Butch
B Company, 2nd Ranger Battalion
US Army
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yeah.
Image
User avatar
Butch
Lieutenant Colonel
Posts: 398
Joined: Fri Jan 24, 2003 11:30 am

Post by Butch »

cool, then you could have good scripting of things like covering fire, or a german/russian officer shooting one of his own men
PFC.Butch
B Company, 2nd Ranger Battalion
US Army
Post Reply