• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

mana and health system power up

Status
Not open for further replies.
Level 4
Joined
Aug 5, 2011
Messages
94
I want an system to power up a hero !

what i want : when i press the skill " Power up " then the hero life increases by 2% and 5 mana per second ! i want it to be in MUI so many heroes can cast it at the same time !The power up never stops unless the player moves .
 
Level 23
Joined
Oct 20, 2012
Messages
3,075
i dont want to show text

Remove these lines from PU Loop

  • Floating Text - Create floating text that reads (String((Integer(TempReal)))) above TempUnit with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
  • Set TempFloatingText = (Last created floating text)
  • Floating Text - Set the velocity of TempFloatingText to 128.00 towards 90.00 degrees
  • Floating Text - Change TempFloatingText: Disable permanence
  • Floating Text - Change the lifespan of TempFloatingText to 1.00 seconds
  • Floating Text - Change the fading age of TempFloatingText to 0.50 seconds
  • Floating Text - Create floating text that reads (String((Integer(PU_HealMP)))) above TempUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 100.00%), and 0.00% transparency
  • Set TempFloatingText = (Last created floating text)
  • Floating Text - Set the velocity of TempFloatingText to 32.00 towards 90.00 degrees
  • Floating Text - Change TempFloatingText: Disable permanence
  • Floating Text - Change the lifespan of TempFloatingText to 1.00 seconds
  • Floating Text - Change the fading age of TempFloatingText to 0.50 seconds
i need the attachment pooint to be on the hero not overhead .

Change in PU Setup
  • Set PU_AttachmentPoint = overhead
to

  • Set PU_AttachmentPoint = chest


And BTW these will help.
 
Level 4
Joined
Aug 5, 2011
Messages
94
Remove these lines from PU Loop

  • Floating Text - Create floating text that reads (String((Integer(TempReal)))) above TempUnit with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
  • Set TempFloatingText = (Last created floating text)
  • Floating Text - Set the velocity of TempFloatingText to 128.00 towards 90.00 degrees
  • Floating Text - Change TempFloatingText: Disable permanence
  • Floating Text - Change the lifespan of TempFloatingText to 1.00 seconds
  • Floating Text - Change the fading age of TempFloatingText to 0.50 seconds
  • Floating Text - Create floating text that reads (String((Integer(PU_HealMP)))) above TempUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 100.00%), and 0.00% transparency
  • Set TempFloatingText = (Last created floating text)
  • Floating Text - Set the velocity of TempFloatingText to 32.00 towards 90.00 degrees
  • Floating Text - Change TempFloatingText: Disable permanence
  • Floating Text - Change the lifespan of TempFloatingText to 1.00 seconds
  • Floating Text - Change the fading age of TempFloatingText to 0.50 seconds


Change in PU Setup
  • Set PU_AttachmentPoint = overhead
to

  • Set PU_AttachmentPoint = chest


And BTW these will help.

ok thanks :)
 
Status
Not open for further replies.
Top