![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2005
Posts: 175
|
Greetings,
i am looking for some informations about AI coding, as i dont know where to look for i ask here: 1) What is the language name used with NASC ? (Like C but...) 2) Is there a way to test pets/flutes levels ? (Mymyu test...) 3) Is there a way to unsummon a "talker's pet" ? 4) Can we include a class/handler like that: Code:
class class_x : warrior end_class class class_a : warrior end_class class class_b : class_a <include class_x> end_class class class_c : class_a <include class_x> end_class 5) Thank you
|
|
|
|
|
#2 | ||
|
Архивный участник
Join Date: Jun 2006
Posts: 2
|
Quote:
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:
|
||
|
|
|
|