Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
2 ways.
1. Create a battle event to do the things mentioned below. Won't go in further because...
2. In battle you can call Common events. Doing this allows you to use the same "system" in each battle.
So create a battle event that calls a common event every round of combat.
In the common event you can check the conditions of your hero and then change the faceset accordingly. However, your branch of status checks will have to be setup in some sort of priority order.
As for damage. Set a variable equal to the max hp of the hero and another to the current hp of the hero to see how hurt they are. That way you can check the difference between the max hp and current hp or get some percentage.
Or simply set the var to current and use hp specific limits ( less than 50, less than 100, less than 150 etc.)
Also you need to paste that battle event page into every single "troop".
thank you, i managed to get the status effect stuff to work! although, about dying portraits, im a bit confused on that. if you want to dumb it down for me, I'd appreciate it, but if you don't want to then that's totally fine! still, this was a lot of help, thanks!
We'll do this as a common event that is called in battle just like the other. If you want this to override the status then it should be in the same common event and be placed before to get priority.
For example, if you're down at 100 out of 200 you would take 100/200 and get 0.5. However, RPGM don't do fractions. So the easiest way to fix this would be to first divide the VAR set to Max HP by 10 (in this case the result would be 20) and then divide 100/20 and get 5. 5 in this case represents 50% and would then show that faceset.
If you're down at 10hp the result would still be 0 though so make sure you have a specific face for "less than 1" and a death portrait for when the hero current hp is actually 0.
However, if you're only looking for a new faceset upon death or barely hanging on you can use a battle event instead if you want. There are conditions for "Hero" and "health between" and you can set percentages there. But you'll have to add that page for each hero in each troop.