Page MenuHomeFeedback Tracker

setvariable command with public parameter set to true doesn't work for some vehicles
Closed, ResolvedPublic

Description

This command does not work with O_G_Offroad_01_F vehicles (maybe with B_G_Offroad_01_F and other variants too but haven't checked) for JIP players.

Details

Legacy ID
3287299668
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Engine
Steps To Reproduce

Start the test mission on a dedicated server.

Add a variable to the vehicle: vehicle player setVariable ["mytest", 5, true]

Go back to lobby and choose a slot.

Check if the variable value exists on the Offroad : hint str (vehicle player getVariable ["mytest", "it didnt work"]

Event Timeline

d3nn16 edited Steps To Reproduce. (Show Details)Jan 30 2014, 4:03 PM
d3nn16 edited Additional Information. (Show Details)
d3nn16 set Category to Engine.
d3nn16 set Reproducibility to Always.
d3nn16 set Severity to None.
d3nn16 set Resolution to Fixed.
d3nn16 set Legacy ID to 3287299668.May 7 2016, 5:51 PM

I have been seeing this issue as well. It seems like it actually is becoming more prominent and annoying though.

Are you still observing this issue? I am unable to reproduce this in current dev build. Thanks

d3nn16 added a subscriber: d3nn16.May 7 2016, 5:51 PM

I installed a dedicated server (Branch: Stable Version: 1.18.124200) on my PC and was unable to reproduce the issue. So apparently this is working now.

However I noticed this problem (setvariable with global broadcast not working) is still occurring randomly. Yesterday, I noticed the issue on a dedicated server. The setvariable command didn't work on "b_supplycrate_f" for one player only (we were 4 players in total). I asked the player to reconnect and after he did the server broadcasted the variable correctly (I didn't reexecute the setvariable command before or after he reconnected).

I tested the issue with "b_supplycrate_f" again too and I couldn't reproduce it either. It looks like something random.

I do still see this randomly. I have't set up a sand box to test the details of it grain by grain (I will work on doing that shortly), but could this have anything to do with the setObjectTextureGlobal bug? (http://feedback.arma3.com/view.php?id=18748)

I also have this issue on both offroad which inherit from the 'I_G_Offroad_01_F' class. The JIP process is unable to get the global variables assigned to these vehicles.

I am on stable, server on PERF 3 binaries (1.18.124360)

seems fixed in latest dev

Mass-closing all resolved issues not updated in the last month.

Please PM me in BI Forums (http://forums.bistudio.com/member.php?55374-Fireball) if you feel your bug was closed in error.