Jump to content
Sign in to follow this  
Deadfast

IF condition - edit name matters

Recommended Posts

So here I come again.

I'm trying to make a script where I check whether the unit launching an action has a certain, editor given, name.

It has to be the name given in the editor and that seems to be a problem.

if I use the simple (name unit) == "SOMETHING" I'm comparing player's name and that's useless for me.

I have read Kronzky's note in the name command description, but I can't think of a way to implement this into IF condition.

Any help will be, again, highly appreciated wink_o.gif

Regards,

Deadfast

Share this post


Link to post
Share on other sites

I knew it would be something simple as that.

Thanks a lot!

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  

×