I know I probably spelled that wrong, but for the while proc it would be nice to have something like this...
mob/verb/Test()
while(usr.HP<usr.HPM)
usr.HP+=1
sleep(10)
usr.underlays+='hello.dmi'
when(usr.HP==usr.HPM)
usr.underlays-='hello.dmi'
ID:259505
Apr 28 2002, 3:38 pm
|
|
In response to Spuzzum
|
|
Ya, I tried that with changing an icon state but it didn't work.
|
In response to Strange Kidd
|
|
Strange Kidd wrote:
Ya, I tried that with changing an icon state but it didn't work. Then what difference would your notation make? Changing icon states have nothing to do with while(). =P |
Wouldn't it just be easier to do the following?
mob/verb/Test()
usr.underlays += 'hello.dmi'
while(usr.HP < usr.HPM)
usr.HP += 1
usr.underlays -= 'hello.dmi'