Difference between revisions of "Bethesda Tutorial Papyrus Events and Properties"

m
→‎Attaching the Script: Corrected some spelling, changed "Important!" to a Warning box as it looked out of place otherwise.
imported>Helkonk
imported>CraftySentinel
m (→‎Attaching the Script: Corrected some spelling, changed "Important!" to a Warning box as it looked out of place otherwise.)
Line 147: Line 147:


That's attached the script to this reference, but we still need to tell the Creation Kit what spell to cast.  We'll be using "dunReanimateSelf", a special non-playable spell created especially for events like this one.<br/>
That's attached the script to this reference, but we still need to tell the Creation Kit what spell to cast.  We'll be using "dunReanimateSelf", a special non-playable spell created especially for events like this one.<br/>
'''IMPORTANT !!''' If you do not do what follows, any properties (any external ressource) that you use in your script will NOT register correctly. (This is because properties are '''local''' names only). Even if the property has the same name as an existing external object, it will not work properly without this step.
{{WarningBox|If you do not do what follows, any properties (any external resource) that you use in your script will NOT register correctly. (This is because properties are '''local''' names only). Even if the property has the same name as an existing external object, it will not work properly without this step.}}
# Select ''LokirsDraugrResurrection'' in the ''Scripts'' Tab
# Select ''LokirsDraugrResurrection'' in the ''Scripts'' Tab.
# Click'''Properties'''
# Click '''Properties'''.
# The list that appears only has a single property - ''reanimateSpell''.
# The list that appears only has a single property - ''reanimateSpell''.
# Select reanimateSpell and click '''Edit Value'''.
# Select reanimateSpell and click '''Edit Value'''.
# Notice that this list only displays valid forms - spells, in this case
# Notice that this list only displays valid forms - spells, in this case.
# Select '''dunReanimateSelf'''. Click OK.
# Select '''dunReanimateSelf'''. Click OK.