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.
Death Zones
- Red Dog-PG-
- Squad Member
- Posts: 1005
- Joined: Thu Jan 10, 2013 1:21 pm
Death Zones
Handle every stressful situation like a Dog....if you can't eat, hump it, or play with it, pee on it and walk away
- Bubbachuk-PG-
- Site Admin
- Posts: 4923
- Joined: Sun May 16, 2010 1:59 pm
- Location: Marshville, North Carolina
- Contact:
Re: Death Zones
Thanks RD.
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
- The Texican-PG-
- Squad Member
- Posts: 1747
- Joined: Sun Jun 20, 2010 5:00 pm
Re: Death Zones
Thank you
“If you ain't dyin', we probably need to put more fog in the map”
― The Texican-PG-
- Country Joe-PG-
- Squad Member
- Posts: 2119
- Joined: Sun May 30, 2010 12:29 pm
- Location: USA
Re: Death Zones
Thanks RD.
I've used the removable death zone ploop in my last few maps. Works great.
I've used the removable death zone ploop in my last few maps. Works great.