Search Results for

    Show / Hide Table of Contents

    Class Projectile

    Inheritance
    Object
    PoolObject
    Entity
    Prop
    Projectile
    Implements
    INativeValue
    IDeletable
    IExistable
    ISpatial
    Inherited Members
    Prop.Exists()
    Entity.FromHandle(Int32)
    Entity.MemoryAddress
    Entity.EntityType
    Entity.PopulationType
    Entity.IsDead
    Entity.IsAlive
    Entity.Model
    Entity.Opacity
    Entity.ResetOpacity()
    Entity.LodDistance
    Entity.IsPersistent
    Entity.IsPositionFrozen
    Entity.Bones
    Entity.Health
    Entity.MaxHealth
    Entity.HealthFloat
    Entity.MaxHealthFloat
    Entity.Matrix
    Entity.Position
    Entity.PositionNoOffset
    Entity.Rotation
    Entity.Heading
    Entity.SubmersionLevel
    Entity.HeightAboveGround
    Entity.Quaternion
    Entity.UpVector
    Entity.RightVector
    Entity.ForwardVector
    Entity.LeftPosition
    Entity.RightPosition
    Entity.RearPosition
    Entity.FrontPosition
    Entity.AbovePosition
    Entity.BelowPosition
    Entity.GetOffsetPosition(Vector3)
    Entity.GetPositionOffset(Vector3)
    Entity.Speed
    Entity.MaxSpeed
    Entity.Velocity
    Entity.RotationVelocity
    Entity.WorldRotationVelocity
    Entity.DamageRecords
    Entity.HasBeenDamagedBy(Entity)
    Entity.HasBeenDamagedBy(WeaponHash)
    Entity.HasBeenDamagedByAnyWeapon()
    Entity.HasBeenDamagedByAnyMeleeWeapon()
    Entity.ClearLastWeaponDamage()
    Entity.FragmentGroupCount
    Entity.IsFragmentObject
    Entity.DetachFragmentPart(Int32)
    Entity.IsFireProof
    Entity.IsMeleeProof
    Entity.IsBulletProof
    Entity.IsExplosionProof
    Entity.IsCollisionProof
    Entity.IsWaterCannonProof
    Entity.IsSteamProof
    Entity.IsSmokeProof
    Entity.IsInvincible
    Entity.IsOnlyDamagedByPlayer
    Entity.IsVisible
    Entity.IsOccluded
    Entity.IsRendered
    Entity.IsOnFire
    Entity.IsOnScreen
    Entity.IsUpright
    Entity.IsUpsideDown
    Entity.IsInAir
    Entity.IsInWater
    Entity.HasGravity
    Entity.RemoveParticleEffects()
    Entity.HasCollided
    Entity.MaterialCollidingWith
    Entity.IsCollisionEnabled
    Entity.IsRecordingCollisions
    Entity.SetNoCollision(Entity, Boolean)
    Entity.IsInArea(Vector3, Vector3)
    Entity.IsInAngledArea(Vector3, Vector3, Single)
    Entity.IsInRange(Vector3, Single)
    Entity.IsNearEntity(Entity, Vector3)
    Entity.IsTouching(Model)
    Entity.IsTouching(Entity)
    Entity.AddBlip()
    Entity.AttachedBlip
    Entity.AttachedBlips
    Entity.Detach()
    Entity.AttachTo(Entity, Vector3, Vector3)
    Entity.AttachTo(EntityBone, Vector3, Vector3)
    Entity.IsAttached()
    Entity.IsAttachedTo(Entity)
    Entity.AttachedEntity
    Entity.ApplyForce(Vector3, Vector3, ForceType)
    Entity.ApplyForceRelative(Vector3, Vector3, ForceType)
    Entity.MarkAsNoLongerNeeded()
    Entity.Delete()
    Entity.Equals(Object)
    Entity.GetHashCode()
    PoolObject.Handle
    PoolObject.NativeValue
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public class Projectile : Prop, INativeValue, IDeletable, IExistable, ISpatial

    Properties

    | Improve this Doc View Source

    Owner

    Gets the Ped this Projectile belongs to. Can be null or a Ped instance whose handle is for Vehicle, which is not valid as a Ped instance.

    Declaration
    [Obsolete("The Projectile.Owner is obsolete in the v3 API because the actual owner can be a Vehicle, use Projectile.OwnerEntity in the v3 API instead.")]
    public Ped Owner { get; }
    Property Value
    Type Description
    Ped
    | Improve this Doc View Source

    OwnerEntity

    Gets the Entity this Projectile belongs to. Can be null.

    Declaration
    public Entity OwnerEntity { get; }
    Property Value
    Type Description
    Entity
    | Improve this Doc View Source

    WeaponHash

    Gets the WeaponHash this Projectile was fired with.

    Declaration
    public WeaponHash WeaponHash { get; }
    Property Value
    Type Description
    WeaponHash

    Methods

    | Improve this Doc View Source

    Explode()

    Explodes this Projectile. Note that calling this method does not necessarily delete this Projectile due to the weapon configuration.

    Declaration
    public void Explode()

    Implements

    INativeValue
    IDeletable
    IExistable
    ISpatial
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX