Page MenuHomeFeedback Tracker

Make Eden editor use setGroupIdGlobal
Feedback, NormalPublic

Description

Eden allows you to change group name (left side, in Attributes). This is stored as a CustomAttribute called groupID with an associated expression _this setGroupID [_value];. Because Eden expressions run only on the server, this makes only the server see the new group ID, not any clients/players.

The fix is simple: Change Eden to generate setGroupIDGlobal expressions instead.

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Eden Editor
Steps To Reproduce
  1. Place down any player unit in eden
  2. Place down another unit (friendly to player), change its group callsign
  3. Save, Export to multiplayer
  4. Run the mission from a dedicated server
  5. As the player, shoot the non-player unit, observe default callsign in side chat

Event Timeline

freghar created this task.Jun 2 2016, 7:36 PM
sh4dow added a subscriber: sh4dow.Feb 3 2018, 6:18 AM
sh4dow added a comment.EditedFeb 4 2018, 3:08 PM

I can confirm this issue.
The Eden callsigns do not work in multiplayer. They are only set on the server.
I have attached a mission to test this:


In this mission there are several groups and a script that uses sideChat on them every few seconds.

  • One of the groups has this setGroupId ["NATO DC -"] in the groups init field. => This works in multiplayer.
  • One of the groups uses the Set Callsign Module. => This does not work in multiplayer.
  • The other groups use the Eden callsign settings. => This does not work in multiplayer.

I believe the suggested fix, to change the generated Eden code from setGroupID to setGroupIDGlobal, would fix these issues.

Additionally there is another critical issue, that is preventing us from using the Eden callsign effectively:
Cutting & Pasting a group resets the callsign. The same thing happens when copying a group and pasting it into another mission.
https://feedback.bistudio.com/T118543

TRAGER added a subscriber: TRAGER.Jun 29 2021, 10:49 AM
TRAGER added a comment.EditedJan 16 2023, 3:14 PM

in the this config Cfg3DEN >> Group >> AttributeCategories >> Callsign >> expression
replacing _this setGroupID [_value]; to _this setGroupIdGlobal [_value]; would be a great tweak

Tenshi set Ref Ticket to Internal Ref.: AIII-55522.Jan 25 2023, 5:51 PM
Tenshi added a subscriber: Tenshi.

Thank you for reporting this issue.
We will see what we can do

dedmen changed the task status from New to Feedback.Sep 16 2024, 1:26 PM
TRAGER added a comment.EditedSep 26 2024, 12:26 PM

I can confirm! Eden attribute works fine on dedicated server in current dev branch

Similar

problem occurs in the «Set Callsign» module function \a3\modules_f\groupmodifiers\functions\fn_moduleGroupId.sqf


Callsign will not be applied on dedicated server MP because module function works on server side
0 for server only execution, 1 for global execution, 2 for persistent global execution

Or isGlobal value can be changed to 1 as solution