Jump to content
Sign in to follow this  
USSRSpetsnaza

IED script help?

Recommended Posts

bomb="Bo_GBU12_LGB" createVehicle [(getPos NAME select 0),(getPos NAME select 1),0]

This script makes it blow up on VEHICLE, I want it to blow up on a marker I set down when I press 0-0-1 etc. How do I do that?

Share this post


Link to post
Share on other sites

Hi,

You mean this?

[(getMarkerPos "TAG_marker" select 0),(getMarkerPos "TAG_marker" select 1),0]

_neo_

Share this post


Link to post
Share on other sites

what would it look like, and howdo i name marker? is it like

bomb="Bo_GBU12_LGB" createVehicle [(getMarkerPos "TAG_marker" select 0),(getMarkerPos "TAG_marker" select 1),0]

---------- Post added at 10:53 PM ---------- Previous post was at 10:22 PM ----------

bomb="Bo_GBU12_LGB" ;createMarker [(getmarkerPos car1 select 0),(getmarkerPos car1 select 1),0]

I tried this it said sting array expected nothing?

Share this post


Link to post
Share on other sites

Hey,

Can you explain better what you want to do?

_neo_

Share this post


Link to post
Share on other sites

getPos only works on objects:

_position = getPos _object;

You want getMarkerPos for markers:

_position = getMarkerPos "markernameineditor"

note the "" around the markername

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  

×