Jump to content
Sign in to follow this  
Ducatisto

Spawn friendly AI by trigger and activate UPS

Recommended Posts

I have searched but to date I have not found anything that fills my need. I have an "Evolution" style mission but instead of a ranking system I am after a friendly spawn via trigger caused by player. But also I want the group to "use" Kronzky's UPS so when spawned the group will randomly patrol a marker area. I cannot script at all and to date I have just used readily available scripts but this one has evaded me. Can anyone please point me in the right direction?

Duca

Share this post


Link to post
Share on other sites

I procced like this... maybe it can help you

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

GroupName = CreateGroup East;

"SoldierEB" createunit [[Position],GroupName,"if (isServer) then {nul=[this,'MarkerName','randomdn','delete:60'] execVM 'scripts\ups.sqf'}", 0.566667, "SERGEANT"]

Share this post


Link to post
Share on other sites
-Reaper @ Sep. 30 2008,12:28)]I procced like this... maybe it can help you

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

GroupName = CreateGroup East;

"SoldierEB" createunit [[Position],GroupName,"if (isServer) then {nul=[this,'MarkerName','randomdn','delete:60'] execVM 'scripts\ups.sqf'}", 0.566667, "SERGEANT"]

I thank you for your patience in replying to me but due to non-scripting ability I am failing terribly in understanding your code. Thank you for your help, I will try to attain more (any) scripting ability to help me move forward.

Duca

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  

×