Arma 3
Not enough ratings
Object Console Module
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
File Size
Posted
Updated
21.490 KB
22 Sep, 2023 @ 7:50am
30 Apr, 2024 @ 1:37pm
3 Change Notes ( view )

Subscribe to download
Object Console Module

In 2 collections by Elongerson Muskerton | GrokTurbo
Arma 3 Tools
90 items
M9-SD's Workshop (ARMA 3)
85 items
Description
Init Field / Object Console
For public Zeus servers.

——————————————————————————————————

About
You can use this composition by placing it on the object you want to edit. In the initialization field (text box) of the custom object console, you can reference the object in your SQF[community.bistudio.com] with the global variable 'this' (as you would in the 3DEN Editor[arma3.com]) or the magic variable[community.bistudio.com] '_this'. The object console will automatically use the selected object as a parameter for your code when it is executed.

The initialization field (AKA: "init" field) is essentially a text box where you can enter Arma 3 scripting commands or code snippets. In this version, there are various options for choosing different remote execution[community.bistudio.com] targets (explained below under BUTTONS).

This version of the object console also includes a return field, where you can view and copy the value returned by the code, as well as command auto-fill suggestions, which also shows the parameter syntax for each command.

The object console can be used for any type of script execution; The console is useful for custom attributes, trigger conditions, initialization commands, custom logic, debugging/testing, and creating dynamic/immersive scenarios. Using the init field, you can control a wide range of properties and behaviors for the selected object.

Overall, this composition[community.bistudio.com] provides mission creators with a high degree of flexibility and control over in-game objects during their live Zeus missions. It's a fundamental tool and an asset for experienced mission designers and those knowledgeable in Arma 3 scripting.

Buttons
Close = cancel expression execution and exit the menu.
Server = run the SQF server-side.
Global = run the SQF on server + all connected clients (players).
Owner = run the SQF on the client that 'owns' the object.
Local = run the SQF on your own local client.

Warning
On official servers, restrictions still apply when using the remoteExec command in your code. For more information on these CfgRemoteExec restrictions, visit the Arma 3 Discord[discord.gg] channel: #arma3_official_servers[discord.com]

Note
This version of the console is specifically for executing scripts related to the object you place the module on. For a more generalized console with added functionality, follow my workshop page and stay tuned...

Tags:
Steam Workshop Arma 3 Zeus 3DEN Composition Module Debug Console Initialization SQF Init Field Official Servers Public Script Open Source Code GitHub Discord M9-SD

——————————————————————————————————

My Links

Donate[www.paypal.com]
Website[www.m9-sd.com]
YouTube
GitHub[github.com]
Workshop
Discord (ZAM)[discord.gg]
Discord (SQF Archive)[discord.gg]

——————————————————————————————————

Requirements

This is a scripted composition, designed to be placed from the Zeus[community.bistudio.com] interface. After subscribing to and subsequently downloading this composition, it will automatically be accessible in-game from Zeus > Groups > Empty > Compositions (since it's not a mod, it won't show up as one in the Arma 3 launcher). The scripts attached to this composition will only work if the server allows it with the zeus composition script level security parameter in its description.ext file.[community.bistudio.com] Here is a guide for server owners.

Set the value to 2 to allow custom attributes and all scripts.
zeusCompositionScriptLevel = 2;

The following official public zeus servers allow scripted compositions, however they do have various undisclosed remoteExec restrictions defined in a custom CfgRemoteExec.[community.bistudio.com]

Try out this composition on one of these servers:

[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (USA) #04[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (USA) #02[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (US) #02e[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (US) #02w[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #12[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #04[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #02[www.battlemetrics.com]
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #0D
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #0B

Thank you for subscribing, rating,
& favoriting this composition!

1 Comments
starch 22 Sep, 2023 @ 1:21pm 
awesome