happy new year
ok i tried a diffrent method but still the same error
here the code
push_event // i0
push_const 260
add
push_reg_sp
fetch_i
push_event // myself
push_const 704
add
fetch_i // master
push_const 552
add
fetch_i // target_index
push_const 440
add
fetch_i4
assign4
shift_sp -1
push_event // i0
push_const 260
add
fetch_i4
push_const 0
less_equal
branch_false L122101
L122100
exit_handler
L122101
push_event // c0
push_const 344
add
push_reg_sp
fetch_i
push_event // myself
push_const 704
add
fetch_i
push_event // i0
push_const 260
add
fetch_i4
func_call 184614954 // func[GetCreatureFromIndex]
shift_sp -1
assign
shift_sp -1
push_event // c0
push_const 344
add
fetch_i
branch_false L122103
L122102
L122105
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_parameter x_loc
push_parameter y_loc
push_parameter z_loc
func_call 184811596 // func[InstantTeleport]
shift_sp -7
shift_sp -1
but still a server-error: NpcInstantTeleport cannot find npc