ID:172440
 
With this code, how would I make it where if you use the verb then your screen will go black for about 3 seconds, then it when it returns back to regular, your at that location?



obj
stairs
icon = 'stairs.dmi'
density = 1
verb
Use()
set src in oview(1)
usr.loc = locate(5,29,1)
You could possibly switch them to a black area for the time and then switch them back. This is probably a bad way to do it tho.
In response to Metroid (#1)
Metroid wrote:
You could possibly switch them to a black area for the time and then switch them back. This is probably a bad way to do it tho.

That would be a bad way, just make it so their sight is black then sleep(whatever) then make there sight be able to see again.
In response to XzDoG (#2)
mob.sight
In response to XzDoG (#2)
lol zxdoz! your not helping people ! you just talking like you know about coding! well keep it up!

**next time be more specific**
In response to Deam112 (#4)
He was specific enough without making a direct reference to the sight variable.