- Found in:
- Dylbills PE
ObjectReference[]functionGetAllHitProjectileRefsOfType(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobal
Description
Documentation Comment
get all 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 projectiles that have hit the ref regardless of type.
Caveats
Parameters
Examples
Auto-Generated Example
ObjectReference myObjectReference__ref
bool myBool__only3dLoaded
bool myBool__onlyEnabled
int myInt__projectileType
ObjectReference[] returnedValue = DbSkseFunctions.GetAllHitProjectileRefsOfType(myObjectReference__ref, myBool__only3dLoaded, myBool__onlyEnabled, myInt__projectileType)