MonoDisc class
MonoDisc
Inheritance
Base: BaseProjectile
Derived
None.
Properties
| Property | Type | |
|---|---|---|
throwtype | ThrowType | scripted |
targetAcquired | bool | scripted |
player | WeakHandle<game.Object> | scripted |
disc | WeakHandle<game.Object> | scripted |
target | WeakHandle<game.Object> | scripted |
blackboard | WeakHandle<game.IBlackboard> | scripted |
discSpawnPoint | Vector4 | scripted |
discPosition | Vector4 | scripted |
collisionCount | int | scripted |
airTime | float | scripted |
destroyTimer | float | scripted |
returningToPlayer | bool | scripted |
catchingPlayer | bool | scripted |
discCaught | bool | scripted |
discLodgedToSurface | bool | scripted |
OnProjectileCaughtCallback | red.CallbackObject? | scripted |
wasNPCHit | bool | scripted |
animationController | ent.AnimationControllerComponent? | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIbool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIbool OnProjectileInitialize(game.projectile.SetUpEvent eventData)overrideRTTIvoid RegisterForProjectileCaught()RTTIbool OnShoot(game.projectile.ShootEvent eventData)overrideRTTIbool OnShootTarget(game.projectile.ShootTargetEvent eventData)overrideRTTIvoid GeneralShoot(game.projectile.ShootEvent eventData)RTTIvoid ResetParameters()RTTIvoid GetThrowType(float chargeParam)RTTIbool OnProjectileCaught(bool value)RTTIvoid LaunchDisc(game.projectile.ShootEvent eventData)RTTIvoid NoTargetLaunch(Matrix localToWorld, float startVelocity, float distance, float sideOffset, float height)RTTIint GetBlackboardIntVariable(game.bb.ScriptID_Int32 id)RTTIvoid UpdateAnimData()RTTIbool OnTick(game.projectile.TickEvent eventData)RTTIfloat GetMaxDistance()RTTIbool IsPlayerInKerenzikov()RTTIfloat GetPlayerSpeed()RTTIVector4 GetPlayerPosition()RTTIbool OnCollision(game.projectile.HitEvent eventData)overrideRTTIvoid LodgeDiscToSurface()RTTIvoid DealDamage(game.projectile.HitEvent eventData)RTTIvoid SetTargetComponentQuickThrow(ent.IPlacedComponent quickThrowTarget)RTTIvoid SetTargetComponent(ent.IPlacedComponent target)RTTICName GetPlayerTargetComponent()RTTIvoid ReturnToPlayer()RTTIvoid StartCathingPlayer()RTTIbool OnFollowSuccess(game.projectile.FollowEvent eventData)RTTIvoid PlayCatchAnimation()RTTIvoid SpawnTrailEffects()RTTIvoid SpawnVisualEffect(CName effectName, game.Object disc)RTTI