Home   Help Search Login Register  

Author Topic: making a shilka fire INTO THE SKY  (Read 520 times)

0 Members and 1 Guest are viewing this topic.

bored_onion

  • Guest
making a shilka fire INTO THE SKY
« on: 23 Aug 2004, 16:45:27 »
i want to make a script that will make a shilka continually fire into the air. i've got as far as making it fire:

Code: [Select]
_shilka = _this select 0

#fire1

?(!alive _shilka): goto "end"

?(_shilka ammo "ZsuCannon" <= 300): _shilka addmagazine "ZsuCannon"

_shilka fire ["ZsuCannon","ZsuCannon"]

~0.0005

goto "fire1"

#end

exit

but i can't get it to fire into the sky

ive tried making it "dotarget" a game logic at height 500 and also making it "dotarget" and then "dofire" the game logic but that doesn't work

anyone have any ideas?

help greatly appreciated

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:making a shilka fire INTO THE SKY
« Reply #1 on: 23 Aug 2004, 16:46:07 »
Use the invisible target addon - AI won't target GLs.

Search the forum for a link.
Plenty of reviewed ArmA missions for you to play

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:making a shilka fire INTO THE SKY
« Reply #2 on: 23 Aug 2004, 17:22:10 »
In A01: Revenge, the BIS SP mission, then they have some grenadiers target H (invisible)s and then doFire ["**","**"] at them. You could try that?
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

bored_onion

  • Guest
Re:making a shilka fire INTO THE SKY
« Reply #3 on: 23 Aug 2004, 17:22:32 »
i did try this but i had difficulty getting it to work and im trying to keep this mission addon

i dont suppose there is a way to do it without an addon?

bored_onion

  • Guest
Re:making a shilka fire INTO THE SKY
« Reply #4 on: 23 Aug 2004, 17:25:17 »
tyger posted about 1 sec before me so i didnt get to try it before i posted last

but anyway i tried it but couldnt get it to work....

any other ideas?

Offline Mud_Spike

  • Contributing Member
  • **
Re:making a shilka fire INTO THE SKY
« Reply #5 on: 23 Aug 2004, 21:51:46 »
I found this thread the other day, which might be what you want:

http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=16660;start=0

bored_onion

  • Guest
Re:making a shilka fire INTO THE SKY
« Reply #6 on: 24 Aug 2004, 12:16:38 »
thanks everyone, i managed to get simflak to do everything i wanted and it looks real nice

thanks to grendel if he ever reads this :P

btw. i thoroughly recommend the script to anyone - its great fun, even if you don't want a specific effect like i did