Jump to content

Scripting - Workaround - Using variables in Entry Point scripting


Praxus9

Recommended Posts

For anyone who wants to know, I have discovered a way to use variables while using the functionality of the Entry Point script box for perks.

 

If you use the Entry Point script box to write scripts for a perk, you will learn that you can have something like "player.DamageAV Health 50" work but not "player.DamageAV Health myVariable."

 

Here is how you get around that.

 

Start your script in the Entry Point script box. When you need to, refer to a Quest Stage. With quests, they give you another script box to work with. This script box allows for variables. Perform your scripting that needs variables here. When the script is done, the script will automatically go back to the scrip at the Entry Point script box. In order to re-use the Quest Stage script later, simply reset the quest stage ("ResetQuest") in the Entry Point script box.

 

Now you can use variables with the Entry Point script box. I hope that helps anyone with their mods.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...