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 19.12.2006, 18:58   #1
alysia
Архивный участник
 
Join Date: Apr 2005
Posts: 151
Default just a AI-code question

this is just something for fun but it doesn't work...

it should be on a summon (with a skill button) that recalls the target (npc or player) to the summon position (like porta in cruma tower)

but the problem is that the part here doesn't work I always get a server error

NPCINSTANTTELEPORT cannot find NPC



here the part for the teleport


push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // master
push_const 552
add
fetch_i // target_id
push_const 444
add
fetch_i4
push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // x
push_const 8
add
fetch_d
func_call 184615005 // func[FloatToInt]
shift_sp -1
push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // y
push_const 16
add
fetch_d
func_call 184615005 // func[FloatToInt]
shift_sp -1
push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // z
push_const 24
add
fetch_d
func_call 184615005 // func[FloatToInt]
shift_sp -1
func_call 184811596 // func[InstantTeleport]
shift_sp -4
shift_sp -1




thx for help
alysia 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 22:27.