Page 1 of 1

little advice

Posted: June 29th, 2007, 1:27 pm
by dwear2
if i wanted the script to get my characters health, and at a certain health use a certain spell.. how would i go about doing that...?

if getplayerhealth = 500
VGSendtext HOTKEY_SPELL_6

where spell 6 is the heal
and 500 is the health where i need to use the spell

would that be the correct usage?
also is there a way to say if player health is below 25% use spell?