Death Zones

Post Reply
User avatar
Red Dog-PG-
Squad Member
Squad Member
Posts: 1005
Joined: Thu Jan 10, 2013 1:21 pm

Death Zones

Post by Red Dog-PG- »

I was asked how to warn players about entering a death zone and I thought I had made a post but could not find it. So, here it is:

You can have it so when a player enters a death zone you can give them ample warning to get out of that area

ploop
if ssnarea(player,10) then
ssnaddhp(player,-10)
consol("Player Out Of Mission Area")
wave(EDTV000.wav)
END
endif

Or you can set it up where a player cannot advance until an objective has been completed.

ploop
if ssnarea(player,11) and not event(4) then
ssnaddhp(player,-40)
consol("Misson Goal Not Completed")
wave(EDTV000.wav)
END
endif


You can set the ssnaddhp from - 1 to -100 where -100 is instant death.
Image

Image

Handle every stressful situation like a Dog....if you can't eat, hump it, or play with it, pee on it and walk away
User avatar
Bubbachuk-PG-
Site Admin
Site Admin
Posts: 4914
Joined: Sun May 16, 2010 1:59 pm
Location: Marshville, North Carolina
Contact:

Re: Death Zones

Post by Bubbachuk-PG- »

Thanks RD. :D
Image
Image

The democracy will cease to exist when you take away from those who
are willing to work and give to those who would not.
~ Thomas Jefferson

Website: http://pgsquad.com
Facebook: https://www.facebook.com/oliver.holmes.357
User avatar
The Texican-PG-
Squad Member
Squad Member
Posts: 1746
Joined: Sun Jun 20, 2010 5:00 pm

Re: Death Zones

Post by The Texican-PG- »

Thank you
Image
“If you ain't dyin', we probably need to put more fog in the map”
― The Texican-PG-
User avatar
Country Joe-PG-
Squad Member
Squad Member
Posts: 2119
Joined: Sun May 30, 2010 12:29 pm
Location: USA

Re: Death Zones

Post by Country Joe-PG- »

Thanks RD.

I've used the removable death zone ploop in my last few maps. Works great.
Image
Image
Post Reply