I need help with how to display Psuedo Health so I can work on a spell casting game mechanic. Basically you have regenerating mana to cast spells to damage other players through pseudo health.
Notifications
I also need help with how to make a player’s in game name appear in a notification if they do an action in game (like pressing a button.)
Changing Item regen speed for specific actions
And lastly, I need help with changing the speed the player regenerates mana once they pick up a specific book that gives them a power-up.
1: I’m assuming your pseudo health system uses a number property. If so, use the set text- set property- get property _ blocks in a game overlay. Connect the property device of the health property to the overlay to open it. This will make it so when the property changes, it will update the overlay.
2: In a trigger, make the blockcode, “set property _ value (triggering player’s name.” Then, you can use the “get property _” block in a notification device.
When I create a block for the game overlay it says to activate when receiving on a channel. What should I put for that. (Like a game start channel for example)
Notifications are weird. You should probably do lifecycle → relay (all) → trigger [set property (Triggering players name)] → notification (send to Triggering player only)[send notification (get property)]. The property should be Text and player scoped.
Trigger → trigger. The first trigger should check if X is less than the limit. If so, add (z + get property f) to X, and trigger the other trigger. If not, just trigger the other trigger. Property F should connect to an IIM, and be a player scoped number property.
I have one last thing to ask, is there a way you can damage people through Pseudo Health only if they are in “range” of the player trying to cast a spell?