mob/verb
BlackCoffin(mob/M in view(6))
M.canmove=0
flick('smallbox.dmi',M.overlay)
Problem description:
M'kay, well, obviously this doesn't work, but I was curious as to if flicking an overlay is possible.
ID:142155
![]() Aug 9 2008, 4:56 am
|
|
Code:
mob/verb Problem description: M'kay, well, obviously this doesn't work, but I was curious as to if flicking an overlay is possible. |
My guess is instead of reading his post and absorbing the information necessary to even use his code, you copied and pasted the code and it returned an error telling you that obj/smallbox is an undefined type path. Would I be correct in guessing this?
|
No.
obj This is what's in my code, but it still doesn't work. |
Well, now that I took out the /o, it doesn't have any errors.
It still doesn't work, however. I'm using view(6) instead of oview(6) so I can test it out on myself, but it still doesn't do anything. |
var/obj/smallbox means you have a variable smallbox of type /obj. Put the /o back in and give me the error so I can help you.
|
For some reason it works now. >_>
I must have mistyped it. BUT!!! It's an underlay, for some reason. mob/verb Should I bump up the layer in the obj part? [EDIT] Bwahaha, that worked. Thanks man ^^; |
Likely the best you could do is create a temporary object for this purpose and do something like the following: