-
Content Count
816 -
Joined
-
Last visited
-
Medals
Everything posted by Schatten
-
[SOLVED] Spawning unit in random building position
Schatten replied to kibaBG's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Exactly. -
How to tell if GPS is in "follow" mode
Schatten replied to dupa1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
https://community.bistudio.com/wiki/ctrlMapDir -
Trigger condition to check number of sectors controlled by a side?
Schatten replied to Blitzen88's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Exactly, as syntax 6 describes. -
Trigger condition to check number of sectors controlled by a side?
Schatten replied to Blitzen88's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Learn carefully, especially syntax 6: https://community.bistudio.com/wiki/select -
Is there a way to access scores of disconnected players?
Schatten replied to dupa1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can save scores when a player disconnects: https://community.bistudio.com/wiki/Arma_3:_Mission_Event_Handlers#HandleDisconnect -
Player Respawns...Please help!
Schatten replied to gadjr114's topic in ARMA 3 - MISSION EDITING & SCRIPTING
OK, this article explains that: https://community.bistudio.com/wiki/Event_Scripts -
Noob help using arguments, Sector module expression field
Schatten replied to The Grease Mage's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can simplify: _this execVM "objectiveControl.sqf"; I think this forum is OK for such questions. You can also join Arma Discord. -
Player Respawns...Please help!
Schatten replied to gadjr114's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It's written just before the code snippet. -
Noob help using arguments, Sector module expression field
Schatten replied to The Grease Mage's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Errors because you pass an empty array to the script. -
Noob help using arguments, Sector module expression field
Schatten replied to The Grease Mage's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Read carefully: https://community.bistudio.com/wiki/params -
remoteExec action "surrender"
Schatten replied to jajavst's topic in ARMA 3 - MISSION EDITING & SCRIPTING
[_hup, ["Surrender", _hup]] remoteExec ["action", _hup]; -
Increment a variable: "Invalid number in expression" error
Schatten replied to bardosy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Publish initialization code of hullaszamlalo var and the full error message.- 2 replies
-
- 1
-
-
- error
- invalid number
-
(and 1 more)
Tagged with:
-
Spawning items into container
Schatten replied to BeaniePope.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm not sure that _loot var contains correct class names, so check them. There is also for loop that is more suitable for your case. -
An issue with images using titleText
Schatten replied to SaltyNewt's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Seems I've already given you some options on Discord. Have you tried them? -
Kick/Ban Players when the die
Schatten replied to Wiket's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Could you share the option you found please? -
Getting listbox item index by coordinates
Schatten posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi! I wrote a function to get listbox item index by coordinates. It works fine if listbox height is a multiple of row height, otherwise a small error appears, which is especially noticeable at the end of listbox. Could anyone help solve this issue? -
Getting listbox item index by coordinates
Schatten replied to Schatten's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It works! I added your line just after _y = _y - _controlY; Thanks, @POLPOX! -
Getting listbox item index by coordinates
Schatten replied to Schatten's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Unfortunately, this didn't help: #define LISTBOX_ITEM_H 1.75 * 4.32 * pixelGrid * pixelScale / (getResolution select 3) ... rowHeight = LISTBOX_ITEM_H; sizeEx = __EVAL(format ["%1 - (%1 mod pixelH)", LISTBOX_ITEM_H]); -
Getting listbox item index by coordinates
Schatten replied to Schatten's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So, you suggest changing sizeEx in my listbox config, right? If so, can I fix this gap in my function? I'm asking because I would like my dialogs to be as vanilla as possible, so I wouldn't like to change sizeEx. I also wouldn't like sizes of listboxes and, accordingly, the dialog to change when switching between tabs. -
Set a face to players in MP
Schatten replied to Enigx's topic in ARMA 3 - MISSION EDITING & SCRIPTING
https://community.bistudio.com/wiki/BIS_fnc_setIdentity -
Trigger: Displaying message for player
Schatten replied to RealLocutus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I would recommend to read triggers related articles by @killzone_kid, specifically this one: http://killzonekid.com/arma-scripting-tutorials-triggers-v3/ -
Trigger: Displaying message for player
Schatten replied to RealLocutus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Too complicated, @pierremgi. These settings should be enough: Activation: Type: none Activation: none Repeatable: checked Server only: unchecked Condition: player inArea thisTrigger On activation: hint "You've entered!"; On deactivation: hint "You've left!"; -
Trigger: Displaying message for player
Schatten replied to RealLocutus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Make local trigger with this activation: player inArea thisTrigger -
How to simultaneously check 2 arrays via foreach..?
Schatten replied to Blitzen88's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Inside nested forEach, at the same scope. -
How to simultaneously check 2 arrays via foreach..?
Schatten replied to Blitzen88's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Since _KnowledgeArray is returned by targetKnowledge, its elements must obviously be accessed after this array is returned.