Author
|
Topic: DinkC Functions
|
JavaKing |
posted 08-02- 03:25 PM CT (US)
Are you able to write your own functions?? ...Like: void bark() { if (&dog == 10) { int &runing; &running = random(4, 1); Debug("random is &running"); if (&running == 1) { &vision = 2; say("Stop that dog!!!", 1); } else { if (random(3,1) == 1) say("Where could that dog have bone off to...?", 1); } } }
|
joshriot
|
posted 08-05- 03:16 PM CT (US)
um, i think so |
Nexis
|
posted 08-05- 06:45 PM CT (US)
Supposedly you can, I've created my own functions but I've never called them within the same script. The only times I used them I just used the external (?? I think that's the one that calls functions from outside the script) function. |
JavaKing
|
posted 08-05- 08:09 PM CT (US)
hmm...I guess I'll have to try it and see what happens ;-) |