Difference between revisions of "Quest scripts"

9 bytes added ,  14:12, 12 October 2006
no edit summary
imported>GuidoBot
imported>GuidoBot
Line 15: Line 15:
* fQuestDelayTime may be set from another script by addressing the quest, e.g. '''set MyQuestFunction.fQuestDelayTime to 0.01'''. In conjuction with effectively disabling the quest script using a long recurrence time, e.g. '''set MyQuestFunction.fQuestDelayTime to 10000''', this allows quest scripts to be employed effectively as functions (starting on a subsequent frame from the calling script).
* fQuestDelayTime may be set from another script by addressing the quest, e.g. '''set MyQuestFunction.fQuestDelayTime to 0.01'''. In conjuction with effectively disabling the quest script using a long recurrence time, e.g. '''set MyQuestFunction.fQuestDelayTime to 10000''', this allows quest scripts to be employed effectively as functions (starting on a subsequent frame from the calling script).
* When using quest scripts to perform some function it always a good idea to use some sort of flag at the very start of the GameMode block to ensure the script is only run at times you want it to.
* When using quest scripts to perform some function it always a good idea to use some sort of flag at the very start of the GameMode block to ensure the script is only run at times you want it to.
* Quest scripts are the only ones that actually process MenuMode while you are resting or using fast travel.
* Quest scripts are the only ones that actually process a MenuMode block while you are resting or using fast travel.
* Because Quest scripts are run always based on time intervals they will not necessary frame sync, even with fQuestDelayTime set to a very low value. For some effects (e.g. those using SetPos) this can have undesired effects. In these cases Object and Magic scripts may be more appropriate to achieve an effect smootly.
* Because Quest scripts are run always based on time intervals they will not necessary frame sync, even with fQuestDelayTime set to a very low value. For some effects (e.g. those using SetPos) this can have undesired effects. In these cases Object and Magic scripts may be more appropriate to achieve an effect smoothly.




Anonymous user