ID:149901
 
hell i dont know if this has already been asked already but,
I need an example of a timed action

ex.
in 3 min, a mob(an NPC) will drop an object, at the same time the coordinates of that object will be dissplayed in the text field

any help is appreciated, thanks.

Magus_XII
MagusXII wrote:
hell i dont know if this has already been asked already but,
Well then why don't you search this forum.....hmmm....I smell popcorn....
MagusXII wrote:
hell i dont know if this has already been asked already but,
I need an example of a timed action

ex.
in 3 min, a mob(an NPC) will drop an object, at the same time the coordinates of that object will be dissplayed in the text field
mob/NPC
proc/Example()
spawn(1800) // 1800 ticks = 180 sec = 3 min
var/obj/thingy/thething=new(loc)
world << "Hey everyone, [src] just dropped \a [thething] at ([thething.x],[thething.y])!"

Lummox JR
In response to Lummox JR
proc/Example()
spawn(1800) // 1800 ticks = 180 sec = 3 min

is there a way to have a pop-up that askes the usr to impute a time field say 5min or 3min