Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 15.06.2006, 07:04   #2
alexerne
Архивный участник
 
Join Date: Jun 2006
Posts: 2
Default Re: About AI NASC

Quote:
Originally Posted by Kirikups
Greetings,

i am looking for some informations about AI coding, as i dont know where to look for i ask here:
2) Is there a way to test pets/flutes levels ? (Mymyu test...)
You're working on the "Little Wings Big Adventure" quest? I'm doing so myself I kinda have the same problem on the test of the hatch's level. I think it should be done by summoning the hatch like this:
Code:
			//
			// Player has summoned his hatch. Now see if it is level 55+
			//
			// [hatchling_of_wind] = 1012311
			// [hatchling_of_star] = 1012312
			// [hatchling_of_twilight] = 1012313
			//
			if ((talker.sm.level >= 55)&&((talker.sm.race == 1012311)||(talker.sm.race == 1012312)||(talker.sm.race == 1012313))) {
				//
				// Ok, player has a hatchling of level 55+
				//
				ShowPage(talker, fnQAb);			
				SetMemoState(talker, @little_wings_big_adventure, 2)
			}
Quote:
3) Is there a way to unsummon a "talker's pet" ?
Good one. Try playing with the Despawn() function. I think it should be like Despawn(talker.sm). Not too sure though. I need to be sure that talker.sm refers to the talker's servitor/pet at that moment...
alexerne 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 21:07.