View Single Post
Old 16.03.2006, 19:00   #4
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default Re: [Help] little ai

thanx for this, i resolved it , thanx to Sauron

cant make teleports in ai now :/
or my teleport link is bad /

<a action="bypass -h teleport_request">Teleport zones</a>

Quote:
Originally Posted by KTPSMF
plz help,
if i add this , i have item (one) 7504 eveything is ok (deletes item)
but if i have 2 or more items i have error that "max loop count exeed" and does not delete any ytems, i want to make that it would delete one item of them.

plz help



Code:
push_event // talker 
	push_const 32 
	add 
	fetch_i 
	push_const 7504 // [tutorial_guide] 
	func_call 81 // func[OwnItemCount] 
	shift_sp -2 
	push_const 1 
	equal 
	branch_false L900585 

	shift_sp 1 
	push_event // talker 
	push_const 32 
	add 
	fetch_i 
	push_const 7504 //[tutorial_guide] 
	push_const 1 
	func_call 80 // func[DeleteItem1] 
	shift_sp -3 
	shift_sp -1
[B]
KTPSMF is offline