Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 13.02.2006, 18:57   #6
Kirikups
Архивный участник
 
Join Date: Oct 2005
Posts: 175
Default

i wrote

[...]if ((myself.c_ai0 != creature)[...]
myself.c_ai0 = creature;[...]


because i suppose creature is a pointer to the pc address:

void CNPC::SeeCreature(CSharedCreatureData* spCreature)

i supposed naturally having to save it in myself.c_ai0 to be able to recall that address in the TIMER_FIRED() handler ... i didnt find any TIMER_FIRED(creature) sample in NASC samples files, and it is normal since that handler is not launched by a creature but by SetTimerPeriod function

Correct me if i am wrong
Kirikups is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 06:08.