Function
Util
Util_SetPlayerCanSkipSequence
Sets it so that a player can skip a scripted sequence. When the skip key is pressed, calls back the given function as a post-sequence setup. noFadeIn stops the system from fading back into gameplay when finished. Call Util_SetPlayerUnableToSkipSequence() when the sequence is finished to disable
On this page
Util_SetPlayerCanSkipSequence(event, skippedCallback, noFadeIn, fadeInTime)Description
Sets it so that a player can skip a scripted sequence. When the skip key is pressed, calls back the given function as a post-sequence setup. noFadeIn stops the system from fading back into gameplay when finished. Call Util_SetPlayerUnableToSkipSequence() when the sequence is finished to disable
Parameters
eventLuaFunctionrequiredskippedCallbackLuaFunctionrequirednoFadeInBooleanrequiredfadeInTimeIntegeroptional
Returns
VoidSource
Declared in the game's script sources at:
scar/scarutil.scar