Forum Jump :

Author Message


Posts: 18
Rank:


Level: Member

Country: fr
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2017-10-15 15:22        
     
Hello,
I'm now having quite a hard time with this little code block :



I just don't get it. Thanks for helping me out.

Edit : to clarify, I need to respawn forsaken empty choppers.
I have 3 of 'em, each one having their own sqf. animate ["AddGunHolder",0] & setvehicleammo are not usefull to the unnarmed hummingbird, however, it shouldn't create an error here as it doesn't at choppers first spawn in main sqf, or does it ? *DONT_KNOW*

This post was edited by BurnToAshes (2017-10-15 15:56, ago)


Author Message


Posts: 151
Rank:


Level: Member

Country: us
Location: Pennsylvania
Occupation:
Age:
In-game name: Xian

 
#2 Posted at 2017-10-16 11:48        
     
Take a closer look at Line 19. You have a : instead of ;


Advertisement


Author Message


Posts: 18
Rank:


Level: Member

Country: fr
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2017-10-16 18:08        
     
Damn...
I feel so stupid, second post with a dumb syntax error...
Used to write sqf's with notepad++, looks like I should switch to typesqf.
Thanks a bunch XianGrim, you're my personal hero *THUMBS UP*


Author Message


Posts: 151
Rank:


Level: Member

Country: us
Location: Pennsylvania
Occupation:
Age:
In-game name: Xian

 
#4 Posted at 2017-10-16 19:31        
     
I like Visual Studio Code personally. There are some addons that help with SQF and it'll even highlight potential syntax errors. Saved me many a headache