Helpful Uses for Health Points

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

Helpful Uses for Health Points

Post by Red Dog-PG- »

I am sure most of you all ready know this but I thought I would share my excitement (I took the short bus to school).

When making a map I would set the AI to blind and/or set the accuracy to 1 for testing while building the map. This is okay but you don't get the full effect as to how the AI will react. I had this thought as to how to make the AI at the accuracy amount designated and not blind for game play and you not die while testing the map.

This is what I came up with

if elapse(1) then
ssnhp(player,9999) endif

This allows the AI to attack and shoot at you all day long and you will never die. Its actually cool and funny as hell when an AI is in your face attacking and trying to kill you. They have some mean expressions on their faces.

Just remember to remove the script when you are finished building the map. ;) :lol:
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: Helpful Uses for Health Points

Post by Bubbachuk-PG- »

Great Find!! Thanks for sharing it.
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
Post Reply