Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Howto Get/Set PC's HP from AI (https://postpacific.loc-online.com/showthread.php?t=4460)

vex 17.05.2006 14:52

Howto Get/Set PC's HP from AI
 
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...


All times are GMT. The time now is 15:55.