Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 17.05.2006, 14:52   #1
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default Howto Get/Set PC's HP from AI

attacker.sm.hp is not workig

any ideas ?
vex is offline  
Old 17.05.2006, 16:04   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

maybe... ... attacker.hp (float type)
FidoW is offline  
Old 17.05.2006, 19:31   #3
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

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
vex is offline  
Old 17.05.2006, 20:25   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

use FloatToInt
FidoW is offline  
Old 17.05.2006, 20:53   #5
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

no no no!

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

player HP isn's changed!
vex is offline  
Old 17.05.2006, 21:07   #6
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

you cant do that... u can heal.. but never by this way...
FidoW is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:46.