Difference between revisions of "Talk:DisablePlayerControls - InputEnableLayer"

m
no edit summary
imported>Qazaaq
m
imported>Qazaaq
m
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
This might be how it should be done when calling any InputLayer based functions. --[[User:Lisselli|Lisselli]] ([[User talk:Lisselli|talk]]) 2017-04-28T02:16:03 (EDT)
This might be how it should be done when calling any InputLayer based functions. --[[User:Lisselli|Lisselli]] ([[User talk:Lisselli|talk]]) 2017-04-28T02:16:03 (EDT)


:It doesnt need to be declared in a function body. It just simply wont exist outside the function body if thats where you declared it.
 
:It doesnt need to be declared in a function body. It just simply wont exist outside the function body if thats where you declared it. This will disable the player controls for ten seconds and then the layer will cease to exist when the function returns. [[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2017-04-28T03:05:33 (EDT)
<source lang="papyrus">
<source lang="papyrus">
Event OnInit()
Event OnInit()
Line 23: Line 24:
     Utility.Wait(10)
     Utility.Wait(10)
EndEvent
EndEvent
This will disable the player controls for ten seconds and then the layer will cease to exist when the function returns. ~~~~
</source>
</source>
Anonymous user