Difference between revisions of "Creating Multithreaded Skyrim Mods Part 3 - Callbacks"
Creating Multithreaded Skyrim Mods Part 3 - Callbacks (edit)
Revision as of 15:59, 27 January 2015
, 15:59, 27 January 2015no edit summary
imported>Chesko |
imported>Chesko |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category: Tutorials]] | [[Category: Tutorials]] | ||
[[Category: Community Tutorials]] | |||
{{Tutorial Index | {{Tutorial Index | ||
Line 225: | Line 226: | ||
function PlaceConjuredGuardAsync(ActorBase akGuard) | function PlaceConjuredGuardAsync(ActorBase akGuard) | ||
if !thread01.queued() | if !thread01.queued() | ||
thread01.get_async(akGuard, XMarker) | thread01.get_async(akGuard, XMarker) | ||
elseif !thread02.queued() | elseif !thread02.queued() | ||
thread02.get_async(akGuard, XMarker) | thread02.get_async(akGuard, XMarker) | ||
;...and so on | ;...and so on | ||
elseif !thread09.queued() | elseif !thread09.queued() | ||
thread09.get_async(akGuard, XMarker) | thread09.get_async(akGuard, XMarker) | ||
elseif !thread10.queued() | elseif !thread10.queued() | ||
thread10.get_async(akGuard, XMarker) | thread10.get_async(akGuard, XMarker) | ||
else | else | ||
Line 361: | Line 358: | ||
ObjectReference myGuard = akGuard as ObjectReference | ObjectReference myGuard = akGuard as ObjectReference | ||
if !Guard1 | if !Guard1 | ||
Guard1 = myGuard | Guard1 = myGuard |