Place effects on a map

You can place any effects on map using Browedit, but you'd need to patch map files client-side for people to see.

 
Thanks Garr. That's good but it goes too deep into map editing. I am now thinking of a script NPC or Mob.

Is it possible to give NPCs or Mobs a effect? Like a NPC with a Aura, or invisible Sprite / NPC with Firewall effect.. burning Poring. etc.

 
Well, not quite what you're thinking about, but you can summon effect from NPC using several different commands:

skilleffect;npcskilleffect;specialeffect;specialeffect2;misceffect;
You can read their descriptions inside doc/script_commands.txt and choose whichever you see most fitting.

But be warned, those only summon effect for the predefined duration of the effect itself (only), so if you want a continuous animation you'd need to refresh the animation calling every now and then, and for that npc timer will come in handy
default_happy.png


 
Code:
prontera,100,100,0	script	LahEffect	-1,{end;OnInit:	initnpctimer;	end;OnTimer5000:	misceffect EF_FIREWALL;	initnpctimer;	end;}
 
Last edited by a moderator:
Back
Top