- Gender
- Non-binary
- Country
- Philippines
@ZenoniaLvr Follow this ExpertVoid functions are not int functions. This means you can't simply return an int value to it, or the app will crash.
Being also a public object, it probably means that function is responsible of spawning the actual coin ITEM (eg the coin image) in the game, and probably doesn't store any coin values inside.
My advice is to skip that function, as it's probably useless for your scopes.
I'm not entirely sure if it was void but I'll check it tomorrow (currently midnight here in my place lmao). But thank you so much for the help and for clearing it up!!!Void functions are not int functions. This means you can't simply return an int value to it, or the app will crash.
Being also a public object, it probably means that function is responsible of spawning the actual coin ITEM (eg the coin image) in the game, and probably doesn't store any coin values inside.
My advice is to skip that function, as it's probably useless for your scopes.
I know right?@ZenoniaLvr Follow this Expert
Its 3.30am here. Done fixing a mod. Now packing everything upI'm not entirely sure if it was void but I'll check it tomorrow (currently midnight here in my place lmao). But thank you so much for the help and for clearing it up!!!
Post automatically merged:
I know right?
Man that's hard work. No can do on my side as I have classes tomorrow. Also good thing I didn't tampered with that Object value that I asked, I really forgot if it's void or not.Its 3.30am here. Done fixing a mod. Now packing everything up
I also have to start work from 9amMan that's hard work. No can do on my side as I have classes tomorrow. Also good thing I didn't tampered with that Object value that I asked, I really forgot if it's void or not.
Salute! I could do that but I won't, I'd be killing myself lmaoI also have to start work from 9am
Salute! I could do that but I won't, I'd be killing myself lmao
public object get_FireworkInventory() => null |
It's an object, so it won't store the real value, but it will just be responsible of spawning the object item.@Sbenny @Gourov
Okay it's not void. So is it important or as you said, just images?
public object get_FireworkInventory() =>
null
Thank you. Then since it's for spawning, can it be edited to spawn more of them or it's unchangeable? I read somewhere that null can be changed but am not sure anyways.It's an object, so it won't store the real value, but it will just be responsible of spawning the object item.
Ohh thank you for the explanation! Now the range of functions that I need to choose from lessened Thank you very for the answers.If you'd like to spawn more, you'd need to edit the function calling the object, in order to call it twice (for example). But again, since it doesn't hold the value, it will probably make no difference.