#How do I create a dynamic property? "getDynamicProperty"
1 messages · Page 1 of 1 (latest)
Is not working
There is .setDynamicProperty() and .setProperty()
I want to use DynamicProperty
But I don't know how it should be created
@placid marten
How do I make players have this dynamic property?
What are you using this dynamic properties for?
player.onScreenDisplay.setTitle(
(player.getDynamicProperty("scene") == 1 || player.getDynamicProperty("scene_anim") == 1 ? "scene:1": "scene:0") +
(player.getDynamicProperty("scene_anim") === 1 ? "scene_anim:1": "scene_anim:0")
)
Can you send the scriptevent command exactly as you are typing it in game?
And are you executing that function after setting the properties?
It is a function that occurs non-stop
Let me open VS Code to check it better
...