Description
Wiki Description
Gets the spell the actor currently has equipped in the specified source.
Documentation Comment
Gets the spell currently equipped in the specified source
0 - Left Hand
1 - Right Hand
2 - Other
3 - Instant
Caveats
Parameters
intaiSource
CK Wiki Description
The source to get the spell from.
- One of the following values is acceptable:* 0:Left hand
- 1:Right hand
- 2:Other
- 3:Instant
Examples
; Does Bob have fireball in his left hand?
if (Bob.GetEquippedSpell(0) == FireballProperty)
Debug.Trace("Bob has fireball in his left hand")
endIfAuto-Generated Example
int myInt__aiSource
Spell returnedValue = myActor__toCallFunctionOn.GetEquippedSpell(myInt__aiSource)Related Pages
- Actor
- Actor.EquipSpell(...)
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
