Thread: Wyvern in C4
View Single Post
Old 27.04.2007, 01:18   #7
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by dirkr View Post
sprocket made the flute thing for his server.. i'm not gonna share his code ( cause its his code ) but i suggest you look at the ai function for createpet for a strider or even a hatchling or a wolf.. and try and adapt that to a wyvernpet
I already try that before the share of yesterday, i have the wyvern into an item, i summon the wyvern but i cant ride it. I try with /ride /mount etc etc, nothing works.

NASC
Code:
if (ask == -203) myself->CreatePet(talker,19101,1012621,70);
Compiled
Code:
	push_event	//  ask
	push_const 160
	add
	fetch_i4
	push_const 203
	negate
	equal        
	branch_false L14
L13
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  talker
	push_const 40
	add
	fetch_i
	push_const 19101
	push_const 1012621
	push_const 70
	func_call 184811786	//  func[CreatePet]
	shift_sp -4
	shift_sp -1
L14
FidoW is offline