Call a script, but no scritps in the menu

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

    Forum Fan

    147 Posts


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

    Key Killer

    556 Posts

  • #3, by sebastianSaturday, 03. November 2018, 09:35 A year 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:

    my_function(args) 

    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
    Sebastian 

    Thread Captain

    2336 Posts

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

    Forum Fan

    147 Posts

Write post