Tutorial Potions Heal for a % of max health/mana

Extes

Cool Member
Reaction score
5
Screen : Not included as its instant and would not be able to see the results effectively.

Name : Potion %

What it does : Makes your potions (health or mana) regenerate a % of your mana/health.

Made in GUI

Import info

Before applying this trigger to your map, be sure you have opened File > Preferences > General > Check the box next to "automatically create unknown variables"

6 variables, all Real, 3 for health, 3 for mana, names are self explanitory.

Potion users current X, potion users total X, and the difference between current and total. (X = life or mana)

You dont need a new item, but you DO need to set the healing ability you are using to replenish 0 health or mana.

Once you have your item ability tied to an item you like, make that the item you want to trigger the regen, and presto! pots based off 35% of your max mana/health!

You can change the regen % by going into the trigger and under "Set Pot_user_(x)_difference = Pot_user_current_(x) = (Pot_user_total_(x)/3.50))

Just change the 3.50 to what ever percent you want recovered!

I really hope this helps, it is my first tut and took me a lot longer than it probably should have. Feel free to use if you feel so inclined! Hope this helps someone!

View attachment 41374

V/R
Extes
 

Dirac

22710180
Reaction score
147
Just because you found out how to do it doesn't mean that no one else knows how to
This doesn't qualify as a resource, looks more like a good reply for someone with the issue around the WEHZ forum.
 

Extes

Cool Member
Reaction score
5
Okie dokie. Ill take it down :D
Never mind... I cant take it down... sorry for wasting space :(
 

NoobImbaPro

You can change this now in User CP.
Reaction score
60
You made a mistake it's o.k you're human. You don't have to say sorry.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    It would suck to spend 400$ on a system that doesn't have the capability you need
  • jonas jonas:
    and it will probably take a couple of tries to get the settings right
  • Varine Varine:
    It would but I can also just make sure I can return them. The system I have works, it's pretty straightforward and I tested it with a camera I have. All it really is is a little cartridge that holds the transparency film and a white light source behind it that projects the image into the lens
  • Varine Varine:
    I'll have to fuck with the light a bit and try some different lighting methods to get color accuracy, but I have IT8 targets for that
    +1
  • The Helper The Helper:
    get that color accuracy :)
  • Varine Varine:
    They're really helpful for calibrating things because I'm really colorblind, so I'm not great at doing it by eye
    +2
  • Varine Varine:
    Well the long, slow slog of winter has officially begun here
  • Varine Varine:
    I have a bunch of community service I have to do, and I have a feeling there will be a lot of snow shoveling involved now
  • The Helper The Helper:
    don't know why people choose to live in that kind of weather :)
  • Varine Varine:
    Well
  • Varine Varine:
    My job is here
  • Varine Varine:
    I was born here man I didn't choose shit
  • Varine Varine:
    And also, I keep moving away and it doesn't get any better. I moved to San Antonio and shit froze there AND we had blackouts
  • tom_mai78101 tom_mai78101:
    I'm back, suffering from severe jet lag.
  • The Helper The Helper:
    Cold is following your ass around Varine - I just dont think I could handle a snowy winter.
  • The Helper The Helper:
    Welcome Back Tom!
  • The Helper The Helper:
    I hear that taking a Melatonin around your normal bedtime can really fix jet lag
  • tom_mai78101 tom_mai78101:
    Yeah, I also heard about that as well. I think I'm good. I'm just lucky it's the weekend so I have some time to readjust.
    +1
  • Varine Varine:
    It was a fucking blizzard today, shoveling was an effort in futility.
  • Varine Varine:
    Melatonin gives me nightmares
  • Varine Varine:
    They had me shoveling out the parking lot for the jail. Fucking pointless, they need a blow.
  • Varine Varine:
    Well they gave me a snow blower but it was too wet to do much with with other than compact everything. Oh well, the cop cars can get into there now when they arrest people I guess
    +1

    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