-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-Game-HP. #14744
Comments
Not tested, but in theory should work. for i = 0, getProperty('unspawnNotes.length')-1 do
setPropertyFromGroup('unspawnNotes', i, 'hitHealth', 0)
end |
This might be less flexible, but, in theory should work (i have not tested) function onUpdatePost()
setProperty("health",1) -- Set value from 0 to 2. 0 is no health and 2 is full health. you can set this to any value but might not work properly
end |
This one also prevents losing HP on miss. |
@Draconic-Hybrid You are absolutely right, in theory healthBar would always be static (unless the opponent has a script that affects health I think). @Meziaki Also try this one: function goodNoteHit(membersIndex, noteData, noteType, isSustainNote) I will test it later :v |
ohh yea, true, i was thinking they wanted something like Defeat from Imposter v4 (The health stays still in Defeat) i guess i read it wrong |
Don't worry, I understand |
@Meziaki If you don't need anymore please close this issue |
Thank you for the help. I kind of forgot of the fact that I posted this. And yes, it was something like Defeat's mechanic. |
What is your question?
Is there a way I can make it so a script outright stops you from gaining HP on note-press?
The text was updated successfully, but these errors were encountered: