Jump to content
Sign in to follow this  
SporeLamm21

ForEackhLine break ?

Recommended Posts

Hey Guys,
Im on my way to get at least somewhere with scripting and Im trying to let Civilian  AI react to gunshots. However, my Script runs fine until Im trying to do n Line break within an forEach. So please help me. 😄

This one workes

Spoiler

{_x doMove ( _x getPos [10 , 10]);} forEach x ; 

 

Thise one dosnt

Spoiler

{

      _x doMove ( _x getPos [10 , 10]);

} forEach x ; 

 

Share this post


Link to post
Share on other sites

copy and pasted both lines of code into debug console with same results, both work.

also you'll regret calling the array x one day.

  • Like 2

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  

×