Page MenuHomeFeedback Tracker

SetHealth blocked on local Spawned Items
Closed, ResolvedPublic

Description

When spawning items locally on the client for a preview, it would be very useful to allow setting the health of the item on the client too. I don't really see a reason, why this sould be blocked then.
The error you get when trying it is always (E): Object::SetHealth cannot be called on client.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

Geez closed this task as Resolved.Oct 31 2022, 11:33 AM
Geez claimed this task.
Geez added a subscriber: Geez.

Hello LBmaster.
This is blocked due to security reasons.
Regards,
Geez

Geez reopened this task as Acknowledged.Oct 31 2022, 12:11 PM

However, we are going to take a look if this can be changed for local objects.
Regards,
Geez

Geez closed this task as Resolved.Nov 28 2022, 11:41 AM

Hello again.
The problem has been resolved internally - It is going to be possible to set health on items in client via script. This change will appear in one of the future updates.
Regards,
Geez