Forum Jump :

Author Message

Posts: 31

Level: Member

Country: be
Location: Flanders
Occupation: student
In-game name:

#191475 Posted at 2016-08-31 12:29        
# Pierre MGI : Try
sniper reveal [sntg1,4];
before doTarget
and increase sleep.

I added that and increased the sleep to 4, but unfortunately it didn't work.

And I found out that it isn't the range that prevents the ai from firing. I placed another ambient unit that is supposed to shoot a pistol at a target 25m away and he doesn't do that either.
(this is the code I used:)
I messed around a bit with other commands (like doFire, and others) but those didn't work either.

And just a little question: is there a script to make the ai have infinite ammo? I don't seem to find it.

If you're going through hell,
keep going! -W. Churchill