Quote:
|
Originally Posted by colin012
Kind of. but you can't fight befor you say start and it doesn't add to your deaths.
And whats the npc code for a healing thing?
|
Depends on the system. Classic worlds use playerhearts (I think).
example:
NPC Code:
if (playertouchsme)
playerhearts++;
When the player touches the NPC, their hearts increase by one (++).
NPC Code:
playerhearts+=1;
playerhearts=playerhearts+1;
These would also do the same.
In a lot of systems, though, it uses custom HP that use client/clientr strings.
Example:
NPC Code:
if (playertouchsme)
setstring clientr.hp,strtofloat(#v(clientr.hp))+1;
At least I think that's what it is. Haven't done GS1 in a while.