Jump to content
Sign in to follow this  
xawery

Set AI skill 1

Recommended Posts

Hello gents,

I should warn you in advance that I'm a total noob in scripting. I did a search first, but no meaningful results. Perhaps my questions is too noobish to even deserve being asked, but here goes smile_o.gif

I would like to set the skill of all AI's in my mission to 1, so they pose something of a challenge. Naturally, I could just change the skill of every individual unit, but that's rather time consuming. Is there any way of achieving this via a script?

Share this post


Link to post
Share on other sites

Put a huge trigger on the map, activation by your enemy's side; then write in the onActivation line<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_x setSkill 1} forEach thislist

That's it. smile_o.gif

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  

×