Jump to content
Sign in to follow this  
erve

What the hell is wrong with this?

Recommended Posts

_name = _this select 0

_namepos = getpos _name

#loop

~20

?(alive _name) : goto "loop"

wp1 globalchat "dead"

~1

_name setdammage 0

wp1 globalchat "alive"

~30

goto "loop"

I pass [this] exec "dead.sqs" to that soldier and my soldier is wp1..

help sad.gif

Share this post


Link to post
Share on other sites

You will have to put the name of the unit in the [] not just this.

And the script what is it going to be used for ?

RED

Share this post


Link to post
Share on other sites

Little respawn script.

But for what you need "_namepos" if it never occures in your script?

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  

×