ID:179030
 
ok this is what im trying to do now (believe it or not some of the things I do work the first time around but this isnt one of them) im trying to switch one icon state with another when a verb is used.

obj/coreon
icon = 'computer.dmi'
icon_state = "coreon"
name = "warp core"
density = 1
verb/warp_control()
set src in oview(3)
switch(input("")in list("",""))
if("")
flick("coreoff",src)
sleep(40)
usr.pow -= 1
usr << ""
if("")
usr << ""
usr << ""

im not getting any errors however the flick thingy wont work "coreoff is the name of another icon state I just want that icon there for four seconds. my head still whiriling from the last problem I was having. please someone help.




verb/warp_control()
set src in oview(3)
icon_state="coreoff"
sleep(40)
icon_state="coreon"
usr.pow -=1
In response to Skysaw
rock on! thanks