Difference between revisions of "FAQ: My Script Doesn't Work!"

Jump to navigation Jump to search
imported>Jimhsu
imported>Jimhsu
Line 93: Line 93:
===I can't add a property to a script fragment! ===
===I can't add a property to a script fragment! ===
*You need to define the property through the Properties window '''for a script fragment''' before it can work in the script. To do this:
*You need to define the property through the Properties window '''for a script fragment''' before it can work in the script. To do this:
**Remove all references of the property from your script and compile. Use a blank script:
**Remove all references of the property from your script and compile. Use a blank script if you need to:
<source lang="papyrus">
<source lang="papyrus">
;comment
;comment
</source>  
</source>  
if you need to.
 
**''You may need to rename the script to get the Properties window to work.''
**'''You may need to rename the script to get the Properties window to work.'''
**Click on the properties window on the lower right side (next to TIF_) to add the new property.
**Click on the properties window on the lower right side (next to TIF_) to add the new property.
Anonymous user

Navigation menu