Difference between revisions of "Talk:Dissecting the Scripts for Weapon Racks"
Jump to navigation
Jump to search
Talk:Dissecting the Scripts for Weapon Racks (edit)
Revision as of 03:34, 30 January 2013
, 03:34, 30 January 2013→Erroneous assertion
imported>HawkFest |
imported>HawkFest |
||
Line 3: | Line 3: | ||
'''It's written:''' « ''I'm not going to try and explain states here, but '''it's redundant and has no utility if you only have a single state in a script'''.'' » | '''It's written:''' « ''I'm not going to try and explain states here, but '''it's redundant and has no utility if you only have a single state in a script'''.'' » | ||
Actually, a singleton state can be essential e.g. when monitoring things, while using RegisterForSingleUpdateGameTime for instance. One example which is quite self-explanatory: | |||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Scriptname FactionDetectionScript extends ObjectReference | Scriptname FactionDetectionScript extends ObjectReference |