Kisekae Chat Board
--
Re: FK3 help please!
by
Dov Sherman
(
no login
)
Sure, that's easy. I'll demonstrate with just four lights though....
#1 light.cel
#2 light.cel
#3 light.cel
#4 light.cel
#0 button.cel
;@EventHandler
;@initialize()
;@ unmap(#1)
;@ unmap(#2)
;@ unmap(#3)
;@ unmap(#4)
;@press("button.cel")
;@ random(R, 1, 4)
;@ timer(R, 100)
;@alarm(1)
;@ altmap(#1)
;@ timer(1, 1000)
;@alarm(2)
;@ altmap(#2)
;@ timer(2, 1000)
;@alarm(3)
;@ altmap(#3)
;@ timer(3, 1000)
;@alarm(4)
;@ altmap(#4)
;@ timer(4, 1000)
If, for some reason, you don't want the alarm numbers be numbered that way, you could do it like this instead...
;@press("button.cel")
;@ random(R, 1, 4)
;@ ifequal(R, 1) timer(1, 100) endif()
;@ ifequal(R, 2) timer(18, 100) endif()
;@ ifequal(R, 3) timer(24, 100) endif()
;@ ifequal(R, 4) timer(37, 100) endif()
;@alarm(1)
;@ altmap(#1)
;@ timer(1, 1000)
;@alarm(18)
;@ altmap(#2)
;@ timer(18, 1000)
;@alarm(24)
;@ altmap(#3)
;@ timer(24, 1000)
;@alarm(37)
;@ altmap(#4)
;@ timer(37, 1000)
Posted on Mar 13, 2002, 1:45 AM
from IP address 207.195.139.200
Respond to this message
Return to Index
Responses
ahh, that's awesome!
.
tea
, Mar 13, 2002, 10:24 AM
FK3 4 U N me
.
Dov Sherman
, Mar 13, 2002, 4:03 PM
Create your own forum at Network54
Copyright © 1999-2008
Network54
. All rights reserved.
Terms of Use
Privacy Statement