ID:171809
 
Hi um can anyone tell me how to code it so that when a mob casts a shield spell, they gain shield icons around them? as in a sheild icon to the top of them left right down top left torp right etc. also i need it to move with them, and then after 30 seconds, disappear. can someone tell me how to do this?
Use overlays. Look them up in the DM Reference (<---) under atom/var/overlays.
In response to Foomer
Foomer wrote:
Use overlays. Look them up in the DM Reference (<---) under atom/var/overlays.

dude i know how to use overlays. but thats not helping. i need a small example if u could provide it.
In response to Reinhartstar
So, what you need is for someone to code it for you so ultimately you'll be helping out no one. Well, I'll give you a hint.

Spawn, new, locate(x,y,z), and loc will all be used here.
In response to Devourer Of Souls
Its a forum on code help..geez shouldn't the more experienced tell the less how to do stuff? lol
In response to Artekia
Nah. There's nothing wrong with telling someone how to do something (within reason).

~Edit~

Also, he didn't really say he wanted someone to put the code together for him. It sounds like he just needs a kick-start for him to build off of it...I think. O.o
In response to Sarm
Sarm wrote:
Nah. There's nothing wrong with telling someone how to do something (within reason).

~Edit~

Also, he didn't really say he wanted someone to put the code together for him. It sounds like he just needs a kick-start for him to build off of it...I think. O.o

what sarm said is exactly right. I just need help with it so i can learn how to do it. Its not like im just gonna copy the code into my game. jeez

can somebody PLEASE just give me a damn example of how to do it? cause i am completely stumped, and im not gonna get it without help. So someone PLZ just help me!
In response to Artekia
Artekia wrote:
Its a forum on code help..geez shouldn't the more experienced tell the less how to do stuff? lol

Nonsense! This is a forum where experienced programmers stroke their egos at the expense of others. Everyone knows that.
In response to Reinhartstar
Use the procs in [link] to add overlays. If adding shield icon overlays in each direction isn't what you want, then I don't understand the question.
In response to Reinhartstar
If you know how to use overlays than just look up the pixel_x and pixel_y vars when used with atoms.