Floating Text

3plX

New Member
Reaction score
3
if hero has a "spell" ,spell can be at least level 1
if there is a enemy heroes under 15/22/29/36 health within 650 range
then every 1.25 sec floating text will be created above their characters, saying "Kill +(Player's name)"

conditions, it won't work if enemy unit has "invisibility" buff on them



plz help me make it
 

Yoshii

New Member
Reaction score
74
if hero has a "spell" ,spell can be at least level 1
if there is a enemy heroes under 15/22/29/36 health within 650 range
then every 1.25 sec floating text will be created above their characters, saying "Kill +(Player's name)"

conditions, it won't work if enemy unit has "invisibility" buff on them
plz help me make it
very confusing let me see if i got it right
event: every 1sec of game
conditon:
action:pick every unit in playable map matching unit is a hero
-if level of ability X of picked unit is equal to or greater than 1
then
pick every unit within a range of 650 of picked unit
then
if picked unit has life < than 15
then:
create floating text at position of picked unit
-show floating text

I dont have my editor nearby so im not really sure there is an action for if unit has life of X , its probably similarly done.
Edit: it seem the HP thing is an event only. so we need to do thing in reverse. Whenever the unit has <HP(event) value then have the game look if there is any hero nearby and if the hero has ability X nearby then create the text.
 

3plX

New Member
Reaction score
3
Umm... I'm sorry but... what?

example:
if a Mountain king has a Stormbolt spell, if any enemy hero within 650 range has less than 15/22/29/36 health (depending on a spell), then every 1.25 sec. will be created floating text above enemy hero,
it supposed to notify Mountin King who about to die

m'kay?
 

Yoshii

New Member
Reaction score
74
example:
if a Mountain king has a Stormbolt spell, if any enemy hero within 650 range has less than 15/22/29/36 health (depending on a spell), then every 1.25 sec. will be created floating text above enemy hero,
it supposed to notify Mountin King who about to die

m'kay?

event: a unit hp become less than 15
condition: triggering unit is a hero
action: if lvl of stormbolt =1
then:
pick every unit within range 650 of triggering unit matching unit is a hero
text create floating text "low hp" at position of picked unit
text show floating text
wait 1.25sec
text destroy floating text.( or just have it fade)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top