Dunno if this goes here, if not someone please move it.
I started using the Level Editor not too long ago and I discovered how to do some things with it, though, what I want to know is if there's a command to low and raise Daniel's Insanity.
I searched for a command or something on Google and YouTube many times but haven't found even a clue.
I also want to know if there's a way to drain all the Oil of the Lamp, because once I press Tab I see the bar fully charged even though I just started.
And third and probably don't last, I'm trying to play after entering on a Script Area a music, but at the same time a sound. I wrote both commands on my level.hps file, but the sound doesn't. Does someone know what can I do to make the sound and the music play at the same time? The insanity code I'm looking for is for this scene too.
If someone can help me, please do it, I'm currently trying to make a custom story.
afAmount - The amount of sanity you want to lower. Max is 100. Make sure to put .f behind every float, like this "2.5f"
abUseEffect - Determines whether you want a screen effect or not. True means "Screen Effect" while False means nothing.
///-------------------------///
To raise, use this.
afSanity - The amount of sanity you want to raise. Same as above but this one raises it, not lowering it.
Second question is to drain oil from the lantern.
To drain, use this.
afOil - The amount of oil you want. Max is 100.
Third question (and maybe NOT the last) is to play a sound and a music at the same time when colliding with a script area.
To do that, use this.
(04-26-2013, 02:41 PM)Natsu Wrote: So technicaly the sound file must come after the music one? Because I did practicaly the same with it, but wrote the sound one before the music one.
Also, thanks for those codes, I would want this thread open if I come to have another question, and so people that needs help can see what to do too.
Sound file is PlaySoundAtEntity and Music is PlayMusic.
No, I know that. But when I played last time with those commands the sound didn't play. That's the real problem. I'm currently out so I can't test those commands, I'll go home and coment if worked later.