Re: LinkTo()
Posted: January 24th, 2013, 11:51 am
Ok strange. It is working in /map normaly. But I must run it in /devmap first in order for triggers to link. How do I fix this?
CoDJumper.com - For all your CoDJumping needs!
https://codjumper.com/~codjumpe/forums/
https://codjumper.com/~codjumpe/forums/viewtopic.php?t=15726
ExPie wrote:
And another question. Is there a function you can call to end anoter function?
Code: Select all
function_you_want_to_end()
{
    self endon("this_is_how_to_end_a_function");
    ...
}
Â
somewhere else()
{
    level notify("this_is_how_to_end_a_function");
}So if I had a function insertanynamehere() what exact code must I use to end it from another function?
Code: Select all
insertanynamehere()
{
    /*This line is not blocking, it means that this function will end when "unique_message_here" is called */
    level endon("unique_message_here");
   Â
    /* The rest of your code here */
}Code: Select all
level notify("unique_message_here");