Jump to content
Sign in to follow this  
wika_woo

IED script not working

Recommended Posts

Is it this code you expect to create a detonation?


bomb = "Sh_120mm_AMOS_LG";

 

In that case that is the error. All you do here is to assign a bomb shell name to the variable "bomb". I haven't tried it now, but instead try:


 _nil = "Sh_120mm_AMOS_LG" createVehicle getMarkerPos "bombMarker";

 

The "bombMarker" is a name of a marker you put where you want the bomb to explode.

  • Like 1

Share this post


Link to post
Share on other sites

I found a working on act code

 

bomb="Bo_GBU12_lgb" createVehicle (getPos IED)

 

works great thanks!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×