There seems to be a link between massassi and me. When massassi is down, I get dumber!
I'm trying to make a DL cog similar to one of GBK's. But nothing happens. What's wrong with this?
I'm eventually change this so I can use it with cameras (via UserX messages), but not until I get the basics down.
------------------
May the forks be with you.
AOL - providing excellent internet connection until you leave their domain.
There is a great disturbance in my shorts...
[This message has been edited by DogSRoOL (edited April 19, 2003).]
[This message has been edited by DogSRoOL (edited April 19, 2003).]
I'm trying to make a DL cog similar to one of GBK's. But nothing happens. What's wrong with this?
Code:
symbols Message Startup Message Pulse Thing FocalObject Thing Ghost0 Thing Ghost1 Thing Ghost2 Thing Ghost3 Thing Ghost4 Thing Ghost5 Thing Ghost6 Thing Ghost7 Thing Ghost8 Thing Ghost9 Thing Light0 local Thing Light1 local Thing Light2 local Thing Light3 local Thing Light4 local Thing Light5 local Thing Light6 local Thing Light7 local Thing Light8 local Thing Light9 local Flex LightVal0 Flex LightVal1 Flex LightVal2 Flex LightVal3 Flex LightVal4 Flex LightVal5 Flex LightVal6 Flex LightVal7 Flex LightVal8 Flex LightVal9 Int i local Template GhostThing=Ghost end # =================================================== code Startup: for(i=0; i<=9; i=i+1) { SetThingLight(Ghost0, 0, 0); } SetPulse(0.05); Return; Pulse: for(i=0; i<=9; i=i+1) { Light0 = CreateThingAtPos(GhostThing, GetThingSector(FocalObject), GetThingPos(Ghost0), '0 0 0'); SetThingFlags(Light0, 0x1); SetThingLight(Light0, LightVal0, 0); } Return; # ................................................. end
I'm eventually change this so I can use it with cameras (via UserX messages), but not until I get the basics down.
------------------
May the forks be with you.
AOL - providing excellent internet connection until you leave their domain.
There is a great disturbance in my shorts...
[This message has been edited by DogSRoOL (edited April 19, 2003).]
[This message has been edited by DogSRoOL (edited April 19, 2003).]