Jump to content
Sign in to follow this  
MaxiVsr10

How to Stop Norrin AIRespawn script when an object is destroyed?

Recommended Posts

Hi guys, I have a problem is gonna make me crazy...

I'm not an expert in editing and that's why I'asking to you masters.

I have already uses the Search in the forum but no lucky.

Btw, I'm using the fantastic "Norrin AiRespawn script" for one of my missions, the problem is that i really don't know how to stop the script (or the respawn fo the AI) when for example the object is destroyed.

I tried with trigger buit did'nt work,tried to modify the script but don't know where to insert the correct line.

HEEEELP!!!

Share this post


Link to post
Share on other sites

Not sure which version of that you're using, but you could probably wrap your respawn call in the first place with a while (!alive object) type thing. Can you post what object you're trying to destroy and where you're calling the respawn from?

Share this post


Link to post
Share on other sites

Finally I did it modifyng the script of Norrin in this line :

{if (alive _x or !alive [color="Red"]myobject[/color]) then {_remainingUnits = _remainingUnits + [_x]}} forEach _unitsGroup;

It was hard but now it works very well!!!

Thanks guys.

Edited by MaxiVsr10

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  

×