Background for Skyrim SE
Member of the DbSkseFunctions script
ObjectReference[]functionGetAllShotProjectileRefsOfType(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobal

Description

Documentation Comment

get all projectile object references that were shot by the ref that match the conditions.
projectileTypes are: 1 = Missile, 2 = Grenade, 3 = Beam, 4 = Flamethrower, 5 = Cone, 6 = Barrier, 7 = Arrow.
if the projectileType param is none of those types, returns all projectiles that the ref has shot regardless of type.


Caveats


Parameters

ObjectReferenceref

boolonly3dLoaded=true

boolonlyEnabled=true

intprojectileType=7


Examples

Auto-Generated Example

ObjectReference myObjectReference__ref
bool myBool__only3dLoaded
bool myBool__onlyEnabled
int myInt__projectileType

ObjectReference[] returnedValue = DbSkseFunctions.GetAllShotProjectileRefsOfType(myObjectReference__ref, myBool__only3dLoaded, myBool__onlyEnabled, myInt__projectileType)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.