Jump to content
Casio91Fin

Need Occupation script

Recommended Posts

Does anyone have this "Infantry Occupy House" script and possibly added "JBOY UP & Down" to it?

 

command forms, however, would be like this what I was looking for
[Group this, Postion X, radius] ...... 

 

simple if possible

 

Share this post


Link to post
Share on other sites

You try to mix the scripts?

 

In the raw 241 and 346 where is located the command createUnit of occupation script of Grimes, you can try to add the addeventhandler and make some test if it's working, maybe is better use a global variable instead of a local.

_aiUnit = _aiGrp createUnit [_rndmClass, _indivPos, [], 0, "NONE"];
_aiUnit addeventhandler ["FiredNear",{ [_this select 0, ["Middle","Down"]] execVM "JBOY\JBOY_UpDown.sqf";}];

 

  • Like 1

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

×