Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 18.04.2007, 22:12   #1
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default AI help needed with Angels

I just started noticing this error in the last few days

Code:
/18/2007 13:54:xx.xx6, [.\NPC.cpp][5067] CNPC::GetIndexFromCreature failed. spCreature=NULL
04/18/2007 13:54:xx.xx6, --- script call context  ---
04/18/2007 13:54:xx.xx6, [0] messenger_angel [MY_DYING][3997][-1]
04/18/2007 13:54:xx.xx6, [1] warrior_casting_3skill_approach_revival [MY_DYING][69][11]
I looked at the AI and cant make sense of it, and i cant find what the CreateOnePrivateEx syntax is so I'm not sure whats supposed to be there. nor do i have any idea what myself.c_ai0 has as a value. Anyone wanna help me?

anyway heres the line from warrior_casting_3skill_approach_revival thatseems to be causing all the issues

Code:
	EventHandler MY_DYING()
	{
		myself->CreateOnePrivateEx(silhouette,ai_type,0,0,myself->FloatToInt(myself.sm.x),myself->FloatToInt(myself.sm.y),myself->FloatToInt(myself.sm.z),0,1000,myself->GetIndexFromCreature(myself.c_ai0),0);
	}
GMan 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:08.