Effects using script isntead of browedit

xienne15

New member
Messages
120
Points
0
- 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

 
What triggers it is the presence of an OnInit: label. If it's not present the NPC will wait to be clicked when loaded but it's invisible. This means if you change all occurrences of the OnLight label to OnInit it should work. Or if you want, you could add the OnInit label just before or after the OnLight label, whatever solution you find more appropriate.

 
Last edited by a moderator:
Back
Top