IPB


Welcome Guest ( Log In | Register )

 Forum Rules ArmedAssault.info Forum Rules
> Script Trouble
S.T.A.L.K.E.R.
post Dec 8 2012, 22:48
Post #1


New Member
*

Group: Members
Posts: 5
Joined: 8-December 12
Member No.: 9,922



Hey guys

Basically in one of my missions I tried following one of the tutorials on YouTube about IEDs and random spawning, but for some reason it doesn't work. Can anyone help?

Here is the script:

// An Array of ammunition from which to choose
_shellArray =
[
"B_30mm_HE"
"ARTY_Sh_81_HE"
"ARTY_Sh_120_HE"
// "Bo_GBU12_LGB" // Massive Explosion - Use at your own risk wink.gif
]
// Select random explosion type;
_shell = _shellarray call BIS_fnc_selectrandom;

// Spawn the selection
_explosion = _shell createvehicle position IED;

This post has been edited by S.T.A.L.K.E.R.: Dec 8 2012, 22:49
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 25th April 2024 - 15:18