making a moon that has health
how to make a moon spawn that has a health
so when you kill the moon by attacking it, you trigger another public function is this possible ? i already made this: Code:
but now how to make it spawn in the middle of the map ? and how to give it a health so you can kill it by shooting? |
Re: making a moon that has health
Quote:
Code:
Quote:
Quote:
Code:
Quote:
|
You can't really find the "middle" of the map since maps can be anywhere within the boudns of the engine
|
can anybody help me with capturing the part when the moon is destroyed ?
|
Code:
But do what i said in previous post, in other case that wouldn't work. |
i'm gonna post it here then so you can check it out
btw how do you set a sound for a breakable ? like when the moon is destroyed => emit_sound(moon_death.wav) in place of those glass.wav's |
It's possible to return FMRES_SUPERCEDE and then emit your sound with emit_sound.
Note: emitted sound must be precached. |
can you tell me how to use the FMRES_SUPERCEDE
cause thats a totally unknown function to meh |
From the last example:
Code:
|
| All times are GMT -4. The time now is 20:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.