View Single Post
Old 03.01.2007, 09:32   #6
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

Quote:
Originally Posted by alysia View Post
hmm.... i get only this


class recall : (null)
{
parameter:
int DDMagic = 311297;
int PhysicalSpecial = 311297;
int SkillCastingTime = 2000;
int x_loc = 113658;
int y_loc = 15289;
int z_loc = 10080;

handler:
EventHandler CREATED()
{
i0 = myself.master.target_index;
if( i0 <= 0 )
{



no more

your code:
Code:
i0=myself.master.target_index;
if (i0 <= 0) {
	return;
}
c0=myself.GetCreatureFromIndex(i0);
if (c0) {
  myself.InstantTeleport(myself.master.target_id, x_loc, y_loc, z_loc);
}
declaration: void InstantTeleport(CSharedCreatureData, int, int, int);
change it maybe to "myself.InstantTeleport(c0, x_loc, y_loc, z_loc);" ?
humordwarf is offline