Difference between revisions of "Variables and Properties"

Jump to navigation Jump to search
11 bytes added ,  05:04, 13 February 2012
imported>Evernewjoy
imported>Evernewjoy
Line 266: Line 266:


You must have an object in the game for each script.
You must have an object in the game for each script.


You need an instance of the script that has your variable that you want, in this case RamaJRMasterScript.
You need an instance of the script that has your variable that you want, in this case RamaJRMasterScript.


A. Once you create the object, could be an activator of any kind or an actor, or anything really, attach the RamaJRMasterScript script.
A. Once you create the object, could be an activator of any kind or an actor, or anything really, attach the RamaJRMasterScript script.
Line 297: Line 299:
'''Example uses:
'''Example uses:
'''
'''
1. keeping track of a total of enemies killed, where each enemy has a death script to increment a value in a master script
1. keeping track of a total of enemies killed, where each enemy has a death script to increment a value in a master script


2. keeping track of number of switches activated, where each switch increments a master script variable
2. keeping track of number of switches activated, where each switch increments a master script variable


3. basically infinity different very important and wonderful things
3. basically infinity different very important and wonderful things, hee hee!
 
:)


Line 310: Line 311:


PS: Infinite ♥ and thank you's to our friends at Bethesda for giving us such an awesome game as Skyrim and such an beautiful editor as the Creation Kit!
PS: Infinite ♥ and thank you's to our friends at Bethesda for giving us such an awesome game as Skyrim and such an beautiful editor as the Creation Kit!


The Creation Kit is incredibly stable, robust, and a joy to use.
The Creation Kit is incredibly stable, robust, and a joy to use.


Thank you!
Thank you!
Anonymous user

Navigation menu