PDA

View Full Version : Howto Get/Set PC's HP from AI


vex
17.05.2006, 14:52
attacker.sm.hp is not workig :(

any ideas ?

FidoW
17.05.2006, 16:04
maybe... ... attacker.hp (float type)

vex
17.05.2006, 19:31
yes, it's work

now a trouble is to set attacker.hp ... IncreaseParam can't operate with HP , only SP, EXP, LEVEL and 5 basic properties. direct assign wont not too

only heal skills but i need to increase by exact value, thats variable

FidoW
17.05.2006, 20:25
use FloatToInt

vex
17.05.2006, 20:53
no no no!

assign attacker.hp=12xx.xx00 (or may f0) not take affect in game at all !!!

player HP isn's changed!

FidoW
17.05.2006, 21:07
you cant do that... u can heal.. but never by this way...