command /trojanhorse:
permission: op
trigger:
spawn 1 adult horse at player
set display name of last spawned horse to "&a&l||||||||||"
set max health of last spawned horse to 50
set health of last spawned horse to 50
if health of last spawned horse is less than 40:
set display name of last spawned horse to "&a&l||||||||"
#why does the display name not work?
1 messages · Page 1 of 1 (latest)
does it spawn them and does it set the health?
yeah it does only the display name does not go down when its health is lower than 40
Lmao
That's not how you do that
If you were to do it in one trigger it would be a while loop
But you should use an on damage event
could you give me an example?
No