Skip to content
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

How to add health drain in source code #8932

Closed
zeadd21g1233 opened this issue Jun 5, 2022 · 4 comments
Closed

How to add health drain in source code #8932

zeadd21g1233 opened this issue Jun 5, 2022 · 4 comments
Labels
question Further information is requested

Comments

@zeadd21g1233
Copy link

What is your question?

help i need health drain

and you can stop it and make it work

like

healthdrain = false;
start health drain

healthdrain = true;

ineed that

i making cuphead

mechanics

all things are ready

just i need healthdrain
to mehcanic

what ido help pls

@zeadd21g1233 zeadd21g1233 added the question Further information is requested label Jun 5, 2022
@BendyGaming0
Copy link

probably right before the death check you can have a line of code like:
if (healthdrain)
health -= 0.5 * elapsed;

@zeadd21g1233
Copy link
Author

but how to make run and stop damage

@zeadd21g1233
Copy link
Author

source/PlayState.hx:2284: characters 13-24 : Unknown identifier : healthdrain

@ghost
Copy link

ghost commented Jun 8, 2022

source/PlayState.hx:2284: characters 13-24 : Unknown identifier : healthdrain

dumb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants