Jump to content
  • 0

Effects using script isntead of browedit


Question

Posted
-	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

1 answer to this question

Recommended Posts

Posted
-	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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...