Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Healing question... (https://forums.graalonline.com/forums/showthread.php?t=26198)

Googi 03-24-2002 08:16 AM

Healing question...
 
How can I heal someone without using the hurt command?

Slaktmaster 03-24-2002 08:31 AM

playerhearts+=amount of hearts to heal
playerhearts-=amount of hearts to take away

playerhearts=0 kills the player

Python523 03-24-2002 09:36 AM

You can also use playerhp instead of hearts, I don't know why or when that was added though

royce 03-24-2002 09:37 AM

Quote:

Originally posted by Python523
You can also use playerhp instead of hearts, I don't know why or when that was added though
Faster Coding.

Python523 03-24-2002 09:39 AM

Quote:

Originally posted by royce


Faster Coding.

faster coding? Its only a 4 letter difference, It's not like 2 seconds is going to do a lot, I heard it had something to do with the 2k2 hp system but that might be wrong

screen_name 03-24-2002 12:29 PM

Quote:

Originally posted by Python523

faster coding? Its only a 4 letter difference, It's not like 2 seconds is going to do a lot, I heard it had something to do with the 2k2 hp system but that might be wrong

i do believe that is what it is for, as is:
shoot real,real,real,real,real,real,string,string
setshootparams string

royce 03-24-2002 12:35 PM

Quote:

Originally posted by Python523

faster coding? Its only a 4 letter difference, It's not like 2 seconds is going to do a lot, I heard it had something to do with the 2k2 hp system but that might be wrong

I was being sarcastic. During the first couple versions of graal, wasn't that the traditional way with player manipulation?

nyghtGT 03-24-2002 03:08 PM

player'hitpoints'
player'hearts'

i see mucho differences ...
i think the playerhp was used more as a concept then made for the actual use of what he is talking about, but still either would work...

neomaximus2k 03-24-2002 05:41 PM

Quote:

Originally posted by nyghtGT
player'hitpoints'
player'hearts'

i see mucho differences ...
i think the playerhp was used more as a concept then made for the actual use of what he is talking about, but still either would work...

Isn't playerHP for g2k2? i heard it is there inbuilt heart system :P

Any way the original topic, playerhearts=+ would be best, but if you plan to heal someone else i dont know if it would work in a trigger action i never tried it


All times are GMT +2. The time now is 11:29 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.