Sign in to follow this  
Followers 0
StuntmanSlim

Cant fix this

5 posts in this topic

ive been trying to fix this error

07.11.2015 02:59:19: StuntmanSlim () 39fde967df2a67941b17153bd2f4f136 - #41 "
zarray=zarray+[_zombie];
if (zombierun < 1) then {_zombie setdamage 0.5;};

while {alive _zombie} do {
_unitsaround = _zombie n"

 

And this is the code ive been trying but still getting the error

!="\nzarray=zarray+[_zombie];\nif (zombierun < 1) then {_zombie setdamage 0.5;};\n\nwhile {alive _zombie} do {\n_unitsaround = _zombie \n"

 

Thanks

Share this post


Link to post
Share on other sites
Advertisement
!="\nzarray=zarray+[_zombie];\nif (zombierun < 1) then {_zombie setdamage 0.5;};\n\nwhile {alive _zombie} do {\n_unitsaround = _zombie \n"

thats the code i used to try and fix it, following the batlleye how to.

Share this post


Link to post
Share on other sites

"\n" means "new line" and should only be added to the start of a new line before you make it one single line of txt.

The n in your kick does not need the \ placed before it. 

Share this post


Link to post
Share on other sites
!="\nzarray=zarray+[_zombie];\nif (zombierun < 1) then {_zombie setdamage 0.5;};\n\nwhile {alive _zombie} do {\n_unitsaround = _zombie n"

The last character in your kick is an 'n' , don't escape that one with a \

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.