Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 13.04.2005, 15:08   #7
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

接着修改NPCPOS.txt
territory_begin -> territory_end这一段里面是设置传送范围� ��就是画红色框内的人员都会被传送, 图片画得不好,传送师是必须设置在� �个范围之内。

territory_begin [event_human] {{-18221;110537;-2496;-1540};{-17993;110541;-2469;-1540};{-17988;111513;-2672;-1540};{-18241;111554;-2672;-1540}} territory_end
npcmaker_begin [event_human]
npc_begin [event_human] pos={-18114;111193;-2624;32768} total=1 respawn=100hour npc_end
npcmaker_end



差点忘记还有AI
AI设置
class event_human : mass_teleporter
handler 11 // TIMER_FIRED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

shift_sp 1
push_const 0
func_call 52 // func[SetTimerPeriodByTick]
shift_sp -1
shift_sp -1
shift_sp 1
push_const 18099
negate
push_const 109297
push_const 2475
negate
push_const 200
func_call 178 // func[InstantTeleportInMyTerritory]
shift_sp -4
shift_sp -1
push_event // myself
push_const 28
add
fetch_i // i_ai0
push_const 2336
add
push_reg_sp
fetch_i
push_const 0
assign
shift_sp -1
handler_end

class_end

最后记得内城门外再设置一个,写得� �点乱,不懂的话加我QQ 139170问问吧。

Digital 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 18:01.