Prevent explosion of a gas stand - gas stations -
TheRohlikar - 19.11.2018
Sup guys,
Im wondering, how to prevent an explosion when drive into a gas stand (or how it's called in ENG)...
My idea was to put an invisible object in the middle/next to it (depends on a size of that invisible object) and try to prevent with that.
Any other ideas?
The point I want to make is, that nobody could actually harm anybody close to the explosion... If one idiot would drive into gas stand, it's his problem.... but the rest in the area?
Thanks, hope u understand.
Re: Prevent explosion of a gas stand - gas stations -
Mike861 - 19.11.2018
You could freeze the player OnPlayerUpdate if he gets too close to gas stations position.
Re: Prevent explosion of a gas stand - gas stations -
TheRohlikar - 19.11.2018
Quote:
Originally Posted by Mike861
You could freeze the player OnPlayerUpdate if he gets too close to gas stations position.
|
Nope, that's not what I want to do...
Re: Prevent explosion of a gas stand - gas stations -
DIRTYBYT3 - 19.11.2018
GameTextForPlayer "WARNING BLA BLA"...
Re: Prevent explosion of a gas stand - gas stations -
TheRohlikar - 19.11.2018
Nope.
I need to save people "around the explosion"... That's what I need...
Re: Prevent explosion of a gas stand - gas stations -
TheToretto - 19.11.2018
Put some invisible objects to prevent the player from reaching the critical point.
Re: Prevent explosion of a gas stand - gas stations -
NaS - 19.11.2018
Remove it via RemoveBuildingForPlayer and replace it with a static one that doesn't explode. There are a few ones.
Even blocking it off would not suffice, as an exploding car would also blow it up and cause an even bigger explosion (except you don't care about this case).
Re: Prevent explosion of a gas stand - gas stations -
TheRohlikar - 19.11.2018
There are some static? Great news! Didn't know that, thanks.