Call a script, but no scritps in the menu

  • #1, by nerdSaturday, 03. November 2018, 07:21 5 years ago
    I've added two screenshot for clarity

    Forum Fan

    147 Posts

  • #2, by NigecSaturday, 03. November 2018, 09:05 5 years ago
    uncheck the checkbox in the script editor then it will show

    Key Killer

    627 Posts

  • #3, by sebastianSaturday, 03. November 2018, 09:35 5 years ago
    for explaination :

    call a script only shows 'non definition scripts'. It will run the code only when it gets called by that action 

    Definition scripts however run all at start of your game. Putting functions in it will make these functions available anywhere to your game. 

    When you want to call these functions, just use the "execute a script" action part and write your function call there:


    In your screenshot you use a hook to run that function whenever a text get displayed/positioned automatically by the game/engine. 
    There is no need to call it manually in this case. 

    Best regards

    Thread Captain

    2346 Posts

  • #4, by nerdSaturday, 03. November 2018, 17:30 5 years ago
    thank you guys

    Forum Fan

    147 Posts