Home   Help Search Login Register  

Author Topic: smoking script  (Read 432 times)

0 Members and 1 Guest are viewing this topic.

MuSe

  • Guest
smoking script
« on: 12 Jul 2004, 12:11:28 »
On my embassy seige mission i want a smoke screen to cover my 3 teams making the assault. How do i added smoke or make AI units throw smoke? Also how do i make things on fire like trucks? for example the mission on the resistance campaign where you meet guba and its a setup, guba leaves and blows village? bludov.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:smoking script
« Reply #1 on: 12 Jul 2004, 12:58:32 »
Try

loon1 fire "smokeShell"

Remember that AI units can see through smoke but human players can't.   I have a feeling that JAM smokeshells are opaque to the AI.

If you want to make a truck burn you could use

truck1 setDammage 1

If you have a burn script active (like those incorporated in ECP or FDF) then it will burn.

If you want to blow up something camCreate some explosions.

bang1 = "LGB" camCreate getMarkerPos "bang1pos"

Syntax not guaranteed.   Check the weapons and ammo listings for bomb types.
Plenty of reviewed ArmA missions for you to play