def param(0) case $game_variables[Bloody_Difficulty:😀ifficulty_Variable] when 0 (bloody_param(0) * Blood::Easy::MHP).to_i
So then this would do param 0, which is MHP? Can I not do it like this?
Check my edit of the last post 🙂
okay thanks!
Do you mind if I PM you about this now? I didn't think this was gonna take so many replies.
Tbh, I would prefer you started a thread. Then if other users have a similar issue in the future, they can also use that thread as a reference. 🙂
It's better that you don't PM an individual looking for help. Post a new thread (because this has gone WAY past "questions that don't deserve their own thread" now) and let several people help you.
Hello again!
I'm not sure if my problem belongs in this thread but I assume that this could involve scripting, so I'll post here anyways.
ac
I want certain states/Buffs to remain on some Actors/Enemies even if the Actor/Enemy has been knocked out/revived. Is this possible?
Thanks in advance!
Yes, it is possible; however, if I understand you correctly, it will most likely require a script (more than just a few lines) and subsequently, it would be best for you to make a request in the relevant sub-forum.
Just to be sure im understanding you fully. The states/buffs can be different for each actor?
If you want it to remain on ANYONE when they're knocked out/revived, you just make sure it's set up that way - there's a Remove on Death checkbox or something like that (don't have Ace with me).
If you only want it to happen on PARTICULAR actors/enemies and not on all of them, that will require a script to be written. In that case you should post a new thread in RGSS3 Script Requests with the details.
I looked back at my problem again. I'll keep the script request in mind (for some other time) if I really need it, but it seems like I only needed the general point.
I edited my previous post.
I checked and couldn't find a Remove on Death checkbox.
How do you indent each face so they would be drawn on the battle status correctly?
class Window_BattleStatus < Window_Selectable #-------------------------------------------------------------------------- # * Draw Item #-------------------------------------------------------------------------- def draw_item(index) actor = $game_party.battle_members[index] draw_basic_area(basic_area_rect(index), actor) draw_gauge_area(gauge_area_rect(index), actor) draw_actor_face(actor, x, y, enabled = true) end endIt draws the actor faces but they aren't indented or has no spacing. Any way to fix this?
You want to move just the face across a bit horizontally?
draw_actor_face(actor, x + 10, y, enabled = true)Experiment with the value you're adding to x. If 10 is too far across, make it a bit smaller. If it's not far enough, make it a bit bigger. I don't understand what "drawn on the battle status correctly" means or "aren't intended or has no spacing". How are they drawing now, what's wrong with it, and what do you expect/want it to do? Screenshots might help (one of how it is now, and a modified one showing how you want it to be) if the above suggestion doesn't work.
@Doodleguy, the checkbox I mean is in the Removal Conditions of the state. What's checked, what isn't checked, and if the auto removal timing is set, what are the details? I'd think just checking the Remove at Battle End box and leaving the rest unchecked would make it stay when the battler is knocked out?
And how do you want it to look? You need to do a mock-up. There doesn't appear to be nearly enough room to show all your party members, unless you want them to be shown behind the bars?
Have you looked at the numerous battle huds that are out there and already do this sort of thing? I'd forgotten the faces don't show at all by default.
Your x value is static, so all faces will have the same x value, you need to calculate it for example like this
new_x = (x + SPACING + 96) * indexdraw_actor_face(actor, nex_x, y, enabled = true)Replace SPACING with a spacing value you want to have between your faces.
@Shaz, I tried doing what you just said; unfortunately the state still disappears.
I'm assuming that I have to do something in the script editor, although I'm not actually sure about that myself.
I don't have Ace here with me, so can't check it right now. Maybe there is something that says "all other states get removed on death" in the script itself.
The `die` method erases all states. It doesn't even call "remove_state" it simply clears out all of the states.
ah, that explains it.
You'll need a new script written, then. Please make a new thread in the RGSS3 Script Requests forum with details of how you want it to work.
It's okay. I've overwritten/modified the 'die' method and things are turning out great. Thanks for all of the help 😀