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 13.02.2006, 22:43   #1
Kirikups
Архивный участник
 
Join Date: Oct 2005
Posts: 175
Default AI - Raid Boss in arena

Hello,

i would like to write an AI able to do something if NPC like RaidBoss is in an arena, in effect some players aggros RB in order he follows them to the nearest arena, in that way they can kill him without taking any risk to loose xp.

then i can controle myself.start_x/y/z with the 4 coordinates of the arena and do something if:

(x1<x<x2) && (x3<x<x4) && (y4<y<y1) && (y3<y<y2)

using that way i have to declare 8 integers by area:

int x1 =
int y1 =
int x2 =
int y2 =
etc...

but is it possible to use arrays/strings to declare those areas with NASC, because i would like to restrict more than 1 area in same AI, like:

MyAreas = {{{x11,y11};{x12,y12};{x13;y13};{x14;y14}};{{x21,y 21};{x22,y22};{x23;y23};{x24;y24}}}

If anybody know what are availables functions :roll:
Btw i found those functions: SetVariableList, CTerritory but i have no idea how to use them.

Regards
Kirikups 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 15:36.