Difference between revisions of "Complete Example Scripts"
Jump to navigation
Jump to search
m
→Enable/Disable an object on a schedule: Wording
imported>JustinOther m (→Enable/Disable an object on a schedule: Commentary edit) |
imported>JustinOther m (→Enable/Disable an object on a schedule: Wording) |
||
Line 706: | Line 706: | ||
= Enable/Disable an object on a schedule = | = Enable/Disable an object on a schedule = | ||
Say you have a pedestal with a magical statue placed on it which is to enable at 6am every morning and disable at 6pm every evening. Glue the below to the pedestal which must always be enabled, filling the properties in the Creation Kit ensuring kYourObject is either renamed to match the EditorID of your statue upon auto-fill or manually pointed to it. | |||
<source lang="papyrus">ScriptName YourScript Extends ObjectReference | <source lang="papyrus">ScriptName YourScript Extends ObjectReference |