Hi! I’m making a Snow Brawl type game. How do you make a shield that you can activate and it will block all damage for 30 seconds?
Haiasi
January 2, 2024, 2:08pm
2
You can’t do this yet, but you can use Pseudo-Health.
Pseudo-health is tricking the game into using a property for health. Since it is a property we can set it to start at 100 (or 200 for shield) or some absurd number like 10,000.
[Screenshot 2023-10-17 10.07.54]
The default value is the amount of health that you want to start with.
If you want a zone to deal damage without using lasers do player entered zone (zone) → trigger (trigger) that trigger would subtract any amount you want from the property.
[Screenshot 2023-10-17 10.09.18]
And you…
You can also try Mega Regenerating Health (remove the “speed” part) to have an illusion that the player can’t take damage.
Credit to @NavyCatZ for the idea and @mysz for the mega speed.
Okay, first place a button. You can make the message whatever you want it to be. Make it transmit on GrantHealth when pressed. Place a Trigger, and set the delay to 0.1. Place a Health Granter(The Unknown Device) and make it grant 1 HEALTH when receiving on ‘GrantHealth’. Now, make the Trigger receive on ‘GrantHealth’ and also broadcast on ‘GrantHealth’. This will conclude in a Loop. Now, you’re finished!
Why not just use a Repeate…
(Button) Button Pressed —> (Wire Repeater 1) Repeat the wire pusle!
(Wire Repeater 1) When the wire repeater receives a pulse… —> (Wire Repeater 2) Repeat the wire pulse!
(Wire Repeater 1) When the wire repeater receives a pulse… —> (Health Granter) Grant player health
(Wire Repeater 2) When the wire repeater receives a pulse… —> (Health Granter) Grant player health
1 Like
Well, you could make it so when you die, you have 30 second immunity.
maybe put barriers around the player and the triggering thing starts a repeater or wire repeater to increment a counter every second and then once 30 is reached, it deactivates all the barriers
1 Like
How do you make barriers move with player?
Foxy
January 2, 2024, 2:56pm
6
you can make their health regen to max health for thirty seconds (this won’t work against instant kill items)
Haiasi
January 2, 2024, 2:58pm
7
I just said that lol but it’s fine
losing motivation (kinda):
You can’t do this yet, but you can use Pseudo-Health.
You can also try Mega Regenerating Health (remove the “speed” part) to have an illusion that the player can’t take damage.
(Button) Button Pressed —> (Wire Repeater 1) Repeat the wire pusle!
(Wire Repeater 1) When the wire repeater receives a pulse… —> (Wire Repeater 2) Repeat the wire pulse!
(Wire Repeater 1) When the wire repeater receives a pulse… —> (Health Granter) Grant player health
(Wire Repeater 2) When the wire repeater receives a pulse… —> (Health Granter) Grant player health
If you wanted to use Barriers, you’d have to use a lot of coordinate systems
You can’t do this yet, but you can use Pseudo-Health.
You can also try Mega Regenerating Health (remove the “speed” part) to have an illusion that the player can’t take damage.
(Button) Button Pressed —> (Wire Repeater 1) Repeat the wire pusle!
(Wire Repeater 1) When the wire repeater receives a pulse… —> (Wire Repeater 2) Repeat the wire pulse!
(Wire Repeater 1) When the wire repeater receives a pulse… —> (Health Granter) Grant player health
(Wire Repeater 2) When the wire repeater recei…
so what GimSolver and I (Foxy Also) is much simpler.
1 Like
How do you make them stay at max health?
Foxy
January 2, 2024, 2:59pm
9
use a trigger clock connected to a health granter
1 Like
Haiasi
January 2, 2024, 3:00pm
10
The Trigger Clock/Repeater keeps on healing them absurd amounts of health causing the player’s health to not go down for thirty seconds.
1 Like
Haiasi
January 2, 2024, 3:00pm
11
yeah, I forgot that, you can’t stop a wire repeater’s signal so triggers with a trigger limit are much more viable
Foxy
January 2, 2024, 3:05pm
12
place down a trigger, a wire repeater, and a health granter
set the health granter to health then shields and set it to the max health you can have
wire the trigger to the wire repeater and the wire repeater back to the trigger
wire the health granter to either the wire repeater or the trigger
give the wire repeater a mild delay
when you want this effect to stop; deactivate the trigger
1 Like
system
Closed
January 2, 2024, 6:05pm
13
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.