Prevent explosion of a gas stand - gas stations
#1

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.
Reply
#2

You could freeze the player OnPlayerUpdate if he gets too close to gas stations position.
Reply
#3

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...
Reply
#4

GameTextForPlayer "WARNING BLA BLA"...
Reply
#5

Nope.

I need to save people "around the explosion"... That's what I need...
Reply
#6

Put some invisible objects to prevent the player from reaching the critical point.
Reply
#7

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).
Reply
#8

There are some static? Great news! Didn't know that, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)