Custom SUMMON spells in Oblivion Tutorial.

Channel:
Subscribers:
1,080
Published on ● Video Link: https://www.youtube.com/watch?v=TxZayDzBr3E



Category:
Tutorial
Duration: 28:23
501 views
16


An overly long tutorial explaining how to make your own custom summon spells. It assumed you know the basics of using the construction set.

The code is below - youtube doesn't allow me to put angled brackets in here, so if you see a ) with an asterixis * next to it, change it to an angled bracket - the one that looks like a crocodile with the mouth facing left.

scn (Insert Script name here)

; Created: Manic

ref refCaster
ref refName
float alpha



Begin ScriptEffectStart

set refCaster to GetSelf
set refName to refCaster.PlaceAtMe QSummonedBearBlack, 1, 64, 0
refName.PlayMagicShaderVisuals effectSummonMythicDawn 3
PlaySound3D SPLConjurationCast
set Alpha to 1

end

Begin ScriptEffectUpdate

if refName.GetDead == 1
return
endif

; if refName.GetDead == 1
; if GetDisabled == 0
; refName.PlayMagicShaderVisuals effectSummonMythicDawn 3
; refName.SetRestrained 1
; if Alpha )* 0
; set Alpha to ( Alpha - GetSecondsPassed )
; refName.saa Alpha
; else
; refName.Disable
; endif
; else
; return
; endif
; endif
end

Begin ScriptEffectFinish

if refName.GetIsCreature
refName.Kill
else
return
endif

; refName.PlayMagicShaderVisuals effectSummonMythicDawn 3
; refName.SetRestrained 1
; if Alpha )* 0
; set Alpha to ( Alpha - GetSecondsPassed )
; refName.saa Alpha
; else
; refName.Disable
; endif
end