Page MenuHomeFeedback Tracker

Add RegisterNetSyncVariable functions working on map static object
New, UrgentPublic

Description

Currently RegisterNetSyncVariable functions working only on spawned objects.

But for a modding project, you want to create a system linked to map object with some netsyncvariables and it's currently not possible to do it.
This would lead to massive new stuff for custom maps or even in the current chernarus map.

Example :

  • Create a custom sound on map object, like generator, and sound can be enabled or not from server-side directly
  • Create a code lock linked to the door of a map object

Two workarounds exist :

  • When object spawn at clientside, send a call from client -> server, and after server -> client with RPC
  • Create an animation that's actually do anything, and just get state value of this animation to get the actual value. Because animation is synced

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

NiiRoZz created this task.Aug 14 2019, 3:11 PM
NiiRoZz updated the task description. (Show Details)Aug 14 2019, 3:15 PM
NiiRoZz updated the task description. (Show Details)Aug 14 2019, 3:26 PM