- Found in:
- Dylbills PE
ObjectReference[]functionGetRecentProjectileHitRefs(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobal
Description
Documentation Comment
get recent projectile object references that hit 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 recent projectiles that have hit the ref regardless of type.
requires iMaxArrowsSavedPerReference to be set to greater than 0 in DbSkseFunctions.ini
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.GetRecentProjectileHitRefs(myObjectReference__ref, myBool__only3dLoaded, myBool__onlyEnabled, myInt__projectileType)