Page MenuHomeFeedback Tracker

Scale only affecting server side buildings
Assigned, UrgentPublic

Description

Changing scale with either SetScale, or SetTransform, on buildings will only affect the scale on the server side (building collision, pathgraph, etc)

Does NOT update the visual state for clients (has to be called separately)

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General
Steps To Reproduce

1.) Create server synced Building
2.) Call SetScale on said building on SERVER SIDE ONLY.

Visuals will not change, but collisions will

array<Man> men = {};
GetGame().GetPlayers(men);

foreach (Man m: men) {
	Object o = GetGame().CreateObject("Zucchini", m.GetPosition());
	o.SetScale(50);
	o.Update();
}

Event Timeline

Geez changed the task status from New to Assigned.Jan 13 2021, 3:52 PM
komer added a subscriber: komer.Jan 19 2021, 9:35 PM