Complete Example Scripts: Difference between revisions
Jump to navigation
Jump to search
Removed bylines
imported>Ingenue mNo edit summary |
imported>ShadeMe (Removed bylines) |
||
| Line 721: | Line 721: | ||
=== Script for a quest with time limit | === Script for a quest with time limit === | ||
<Source lang="Papyrus"> | <Source lang="Papyrus"> | ||
| Line 799: | Line 799: | ||
=== Script a container that only accepts certain types of items | === Script a container that only accepts certain types of items === | ||
'''How to use this script''': Change the ITEM properties to whatever you want and the container will only accepts those items. If you want a container that only accepts an item that isnt a MiscObject just change the property type to the correct type. If you require your container to accept more than just three item types add another property for the item followed by another If (akBaseItem != ITEM4). Dont forget your Endif! | '''How to use this script''': Change the ITEM properties to whatever you want and the container will only accepts those items. If you want a container that only accepts an item that isnt a MiscObject just change the property type to the correct type. If you require your container to accept more than just three item types add another property for the item followed by another If (akBaseItem != ITEM4). Dont forget your Endif! | ||
<Source lang="Papyrus"> | <Source lang="Papyrus"> | ||