Changing a script with an event?

● ARCHIVED · READ-ONLY
Started by LadyAnna 5 posts View original ↗
  1. Hello Guys :) I have a question as you may guess after reading the Title. I have the pearl abs liquid script installed in my game. In the beginning of the game, the hud should be invisible (it is possible to set StartWithHud = false) But at a special point the hud should appear. What should i do to make that happen? How can i call the script to change StartWithHud from false to true again?

    Is there any possibility to change this line with an event?

    LG Anna

     
  2. While you can't directly *change* the script through eventing, you can run scripts in eventing - third tab, bottom right option, under "Advanced", you'll find a button labeled "Script..."

    Hope that helps. :)
  3. that depends on the script itself, whether or not that variable is a constant or not or if it's accessible or not. So a link to the script's page/site would help a lot.
  4. Just for clarification:


    NOTHING ingame can change any script. What you can do (and what a lot of scripts do) is to use script calls or variables or switches to tell a script to switch between two different, pre-programmed behaviors.


    That means the script needs an option to dynamically change a setting to do this.


    Constants cannot be changed (and a lot of settings are constants), but if the script reads data from a variable or a switch, then you can change its functions ingame. This is why you should always read a script description and configure all variables and switches in that script.


    If a script reads simple data from constants, especially if it's true/false or a number, then in most cases a script modification can change the script to read from a switch or a variable. To write a script modification like that may be simple, or it might require a lot of work, depending on what the setting and the scripte really do.