Had an idea about making some prescripted effects for people to use with GUI's and text. If you think it'd be a good cause help out and add some stuff, aswell as finishing the rough layouts I jot down.
[I]
ex. Template will be,
triggeraction Effectname, playerx,playery,wheretoshowx,wheretoshowy,message,ExtraParameters;
if(actionEffectname){
//Script
}[/I]
*Useful since any npc could call them if you add the actions into a sys npc. So prebuilt functions with parameters.
Re: Colab:: Menu Effects
Image Trail
triggeraction Trail,playerx,playery,Imagename,Showx,Showy;
if(actionTrail){
timeout=0.05;
if(timeout){
for(this.i=0,this.i<5,this.i++){
showimg 1400+this.i,#p(0),#p(1),#p(2)-(this.i*.5);
changeimgcolors 1400+this.i,1,1,1,this.i*.2;
}
this.o=1;
while(this.o<=5){
hideimg 1400+this.o;
sleep .02;
this.o=this.o+1;
}
}
Zoom In/Out (pulsing)
triggeraction Pulse,playerx,playery,Imagename,Showx,Showy,MaxSize,MinSize;
if(actionPulse){
showimg 1900,#p(0),#p(1),#p(2);
timeout = 0.05;
if(timeout){
for(this.i=0,this.i<20,this.i++){
changeimgzoom 1900,(this.i*.05);
}
for(this.i=20,this.i>0,this.i--){
changeimgzoom 1900,(this.i*.05);
}
timeout = 0.05;
}
}