Jump to content
  • 0

Effects using script isntead of browedit


xienne15

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   11
  • Joined:  01/09/12
  • Last Seen:  

-	script	EP7_lightanim	-1,{

OnLight:
	donpcevent "#ep7effectAby1::OnAction";

	sleep2 1000;
	donpcevent "EP7_lightanim::OnLight";
	end;
}
//===============
ars_fild58,95,103,0	script	#ep7effectAby1	139,{
OnAction:specialeffect 14;end;
}

im using this one,but it doesnt do anything at all. Do i need to do something first for it to trigger? seems likes its not.....please help

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1282
  • Reputation:   393
  • Joined:  02/03/12
  • Last Seen:  

-	script	EP7_lightanim	-1,{
OnInit:
	sleep 1000;
	donpcevent "#ep7effectAby1::OnAction";
}

//===============
ars_fild58,95,103,0	script	#ep7effectAby1	139,{
OnAction:
	specialeffect 14;
	donpcevent "EP7_lightanim::OnInit";
}

You were using sleep2 when no character was attached and unless you had some other script starting the effect that wouldn't've worked you have to use a special event like OnInit:. Also if you want to keep the rid I'm pretty sure you have to use doevent not donpcevent.

 

This probably should've been in the script request section.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...