Read current health of player nearby/impacting
Hey guys,I was just doing the second logic tutorial and made the “healing area” work, just wondering how I could read the current health of the player standing in it to feed to a number displayer? I was thinking of how to show on screen that Connie's health is increasing. Is this possible?
-
You can wire the current health into the input on a number gadget and it will dispay on screen by default.
Hope this helps, Peter -
Use a wireless transmitter to broadcast the current health on a named channel. Use a wireless receiver to read that value from the same named channel.
One or the other (can't remember which) lets you define a zone to read from, so you can restrict it to only when you're standing on the healing pad.
請登入寫評論。