Jump to content

Recommended Posts

Hello guys. I would like to know which programming language most identifies with Arma3. I intend to start some course in this area. Not as a profession, but only out of passion for Arma 3.

  • Sad 1

Share this post


Link to post
Share on other sites
28 minutes ago, Djavu said:

Hello guys. I would like to know which programming language most identifies with Arma3. I intend to start some course in this area. Not as a profession, but only out of passion for Arma 3.

I'd say .sqf compares most to something like javascript, it's not really a programming language but a scripting language.

Had no experience in scripting/programming myself prior to sqf (some 4-5 years ago I guess) and am currently neck deep into C++, which I enjoy much more.

The more time I spend in C++, the less I wanna go back to .sqf...

 

Cheers

  • Like 4
  • Haha 2

Share this post


Link to post
Share on other sites

meh. I hate SQF lol, compared to my full stack. SQF makes me wanna smash my head into a brick wall repeatedly. :rofl:

Share this post


Link to post
Share on other sites

C++? I can't imagine the work adding a waypoint for a group, adding EH, or simply set something (damage, behavior, fuel or else)... How do you cope with all the "sqf" commands/functions?

  • Haha 1

Share this post


Link to post
Share on other sites

More code == More fun == Greater chance of brain damage. :rofl:

(maybe not in that order?) :happy:

Share this post


Link to post
Share on other sites
4 minutes ago, HazJ said:

More code == More fun == Greater chance of brain damage. :rofl:

(maybe not in that order?) :happy:

Yep, now balancing between two concepts: isNull brain or brain allowDamage false.

  • Haha 3

Share this post


Link to post
Share on other sites
7 hours ago, pierremgi said:

C++? I can't imagine the work adding a waypoint for a group, adding EH, or simply set something (damage, behavior, fuel or else)... How do you cope with all the "sqf" commands/functions?

 

Adding a EH?

intercept::client::EHIdentifierHandle endFrameHandle;

void intercept::preInit() {
    endFrameHandle = intercept::client::addMissionEventHandler<client::eventhandlers_mission::EachFrame>([this]() {
        intercept::sqf::system_chat("oh look! A frame!");
    });
}

Waypoint?

void addMoveToBaseWaypoint(const group& grp) {
    intercept::sqf::add_waypoint(grp, {134,34,5}, 5);
}

"or simply set something"

intercept::sqf::set_damage(myObject, 1);

 

Doesn't seem that hard ^^

  • Like 2

Share this post


Link to post
Share on other sites

Bof! As totally noob in C++, I can't see the interest. Really. What is the added value if you're using the (same?) commands? Perhaps not really the same but I don't know where set_damage addMoveToBaseWaypoint come from? A library? If it's so easy and cool, where are the tools, libraries, tutos?

Share this post


Link to post
Share on other sites
36 minutes ago, pierremgi said:

but I don't know where set_damage addMoveToBaseWaypoint come from?

https://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3

 

36 minutes ago, pierremgi said:

A library?

https://forums.bohemia.net/forums/topic/189144-intercept-a-library-for-writing-arma-addons-in-native-c/

 

37 minutes ago, pierremgi said:

where are the tools

Visual Studio.

 

37 minutes ago, pierremgi said:

libraries

See link above.

 

37 minutes ago, pierremgi said:

tutos

https://github.com/intercept/intercept/wiki/Getting-Started

 

 

37 minutes ago, pierremgi said:

What is the added value if you're using the (same?) commands

You can additionally use everything else that C++ can do, not limited to just script commands anymore.

  • Thanks 1

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

×