-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Anyways to use lua to change Health gain #10874
Comments
I would recommend doing at least some simple research in source before coming here; this is really easy to find |
How to use it,and what's the meaning of the 'i=0',and the 'value'
…---Original---
From: "Captain ***@***.***>
Date: Mon, Oct 17, 2022 04:37 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [ShadowMario/FNF-PsychEngine] Anyways to use lua to change Healthgain (Issue #10874)
function onCreate()
for i = 0, getProperty('unspawnNotes.length')-1 do
setPropertyFromGroup('unspawnNotes', i, 'hitHealth', value)
end
end
I would recommend doing at least some simple research in source before coming here; this is really easy to find
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I=0 is basically just telling the code to do a thing an amount of times, so for something like "for i = 0, getProperty('unspawnNotes.length')-1 do" that basically means that it's gonna do whatever you tell it to do for however many notes are in the song, usually you'd start from 1, but because of how the notes work you'd start from 0. As for what you put in the "value", basically you put however much health you wanna gain from a note. |
Jeezus man calm down, everybody starts at one point in their programming careers. No need to be a dick about people being new to something. |
Bro it's not that deep man, the only way to learn is try to do it and people like you aren't helping |
for @voxovistired and @PainChungles there’s other bullshit somewhere but I can’t be bothered |
OK that's a little retarded |
This happened after this post, I didn’t have this context beforehand. |
what do these three issues have to do with not being experienced with coding and so asking for help to people that are more experienced in the subject |
|
Describe your problem here.
Are there have some ways to change the BF's Health gain during a song by using lua or events?Thanks for some people can give some advice!
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response
The text was updated successfully, but these errors were encountered: