I'm working on a script for something and I'm wondering if it's possible to call a function from within a function.
Something like:
NPC Code:
function test1(){
script stuff;
if(something happens){
test2();
}
return;
}
I'm not sure cause it isn't working to well with what I have. I'm actually testing for a position, and a keydown while at that position.
__________________
~Draemus Windblade
Just over 90% of all messages have no point or meaning.
"In order to preserve ourselves we seek out and eliminate anything that may do use harm. In doing so, we destroy things that, though possibly hazzardous, may be important to survival. So you see, in trying to save ourselves, we ultimately bring about our own destruction"