Jump to content
Sign in to follow this  
Jem777

Class attributes

Recommended Posts

G’Day All

can someone tell if and where i can find attributes for each class, my terminology may be wrong. What im looking for is an equivalent to  C/C++ Struct or classes, ill explain further. A soldier can have setcaptive, “salute”, “killed” and im sure may other attributes. Is the a list for each class? Im getting into scripting and i thought it may be a good way test out the attributes/commands to see how they work. 

Thanks

Share this post


Link to post
Share on other sites
1 hour ago, Jem777 said:

G’Day All

can someone tell if and where i can find attributes for each class, my terminology may be wrong. What im looking for is an equivalent to  C/C++ Struct or classes, ill explain further. A soldier can have setcaptive, “salute”, “killed” and im sure may other attributes. Is the a list for each class? Im getting into scripting and i thought it may be a good way test out the attributes/commands to see how they work. 

Thanks

https://community.bistudio.com/wiki/Category:Arma_3:_New_Scripting_Commands_List

Share this post


Link to post
Share on other sites

Thanks for the link, i have seen that but its not arranged per object eg soldier, trucks ect ect. You need to go through each one if you dont know what your looking for like me.

Share this post


Link to post
Share on other sites
1 hour ago, Jem777 said:

Thanks for the link, i have seen that but its not arranged per object eg soldier, trucks ect ect. You need to go through each one if you dont know what your looking for like me.

Just navigate the page, at the bottom you can see a link to various categories, you'll also find script commands sorted by functionality that way.

 

Cheers

Share this post


Link to post
Share on other sites
40 minutes ago, Jem777 said:

Thanks for the link, i have seen that but its not arranged per object eg soldier, trucks ect ect.

That's because the engine doesn't differentiate between soldiers, trucks, etc.They are all of the data type Object.

The closest thing you're gonna get is this: https://community.bistudio.com/wiki/Scripting_Commands_by_Functionality

Edit: Darn it, @Grumpy Old Man ninja'd me

 

45 minutes ago, Jem777 said:

You need to go through each one if you dont know what your looking for like me.

Or... you could say what you want to do on this forum and the answer shall be given (or where you should start looking if that's your cup of tea.)

 

Some great topics to read up on:

https://community.bistudio.com/wiki/Data_Types

https://community.bistudio.com/wiki/Operators

https://community.bistudio.com/wiki/SQF_syntax#Rules_of_Precedence (Specifically the Rules of Precedence which a lot of new scripters stumble on).

 

Full scripting commands list: https://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3

  • Like 4

Share this post


Link to post
Share on other sites

Thanks for the links, the syntax is very much like C.

thanks again

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  

×