FutureProg functions

setmorphtimer

Itemscomputer function, computer program, standard futureprog

Overload 1

setmorphtimer overload 1

Boolean setmorphtimer(Item item, Number timer)
Available in
  • computer function
  • computer program
  • standard futureprog
This function allows you to set the morph timer on an item, overwriting whatever it currently is and setting it if it doesn't have one. What happens depends on the prototype. If an item is not set to morph normally, this can still make it morph but most likely morph to nothing. Returns false if anything went wrong like passed a null item.
ParameterTypeDescription
item Item The item who's morph timer you want to set
timer Number A number of seconds from now you want the morph timer to expire in

Overload 2

setmorphtimer overload 2

Boolean setmorphtimer(Item item, TimeSpan timer)
Available in
  • computer function
  • computer program
  • standard futureprog
This function allows you to set the morph timer on an item, overwriting whatever it currently is and setting it if it doesn't have one. What happens depends on the prototype. If an item is not set to morph normally, this can still make it morph but most likely morph to nothing. Returns false if anything went wrong like passed a null item.
ParameterTypeDescription
item Item The item who's morph timer you want to set
timer TimeSpan The amount of time from now you want the morph timer to expire in