游戏事件

这是一个低级游戏事件的列表。也就是说,这些都是直接来自GTAV核心的事件。当需要对脚本中发生的事情进行精细控制时,使用这些事件可能非常有用。有关如何使用这些事件的详细信息,请参见gameEventTriggered

注意,这个列表文档记录并不全面,您可能不需要这里列出的大多数事件。如果你有共享有用信息,请添加到文档中。非常感谢您的帮助!

事件名称 说明
CEventAcquaintancePed
CEventAcquaintancePedDead
CEventAcquaintancePedDislike
CEventAcquaintancePedHate
CEventAcquaintancePedLike
CEventAcquaintancePedWanted
CEventAgitated
CEventAgitatedAction
CEventCallForCover
CEventCarUndriveable
CEventClimbLadderOnRoute
CEventClimbNavMeshOnRoute
CEventCombatTaunt
CEventCommunicateEvent
CEventCopCarBeingStolen
CEventCrimeCryForHelp
CEventCrimeReported
CEventDamage
CEventDataDecisionMaker
CEventDataFileMounter
CEventDataResponseAggressiveRubberneck
CEventDataResponseDeferToScenarioPointFlags
CEventDataResponseFriendlyAimedAt
CEventDataResponseFriendlyNearMiss
CEventDataResponsePlayerDeath
CEventDataResponsePoliceTaskWanted
CEventDataResponseSwatTaskWanted
CEventDataResponseTask
CEventDataResponseTaskAgitated
CEventDataResponseTaskCombat
CEventDataResponseTaskCower
CEventDataResponseTaskCrouch
CEventDataResponseTaskDuckAndCover
CEventDataResponseTaskEscapeBlast
CEventDataResponseTaskEvasiveStep
CEventDataResponseTaskExhaustedFlee
CEventDataResponseTaskExplosion
CEventDataResponseTaskFlee
CEventDataResponseTaskFlyAway
CEventDataResponseTaskGrowlAndFlee
CEventDataResponseTaskGunAimedAt
CEventDataResponseTaskHandsUp
CEventDataResponseTaskHeadTrack
CEventDataResponseTaskLeaveCarAndFlee
CEventDataResponseTaskScenarioFlee
CEventDataResponseTaskSharkAttack
CEventDataResponseTaskShockingEventBackAway
CEventDataResponseTaskShockingEventGoto
CEventDataResponseTaskShockingEventHurryAway
CEventDataResponseTaskShockingEventReact
CEventDataResponseTaskShockingEventReactToAircraft
CEventDataResponseTaskShockingEventStopAndStare
CEventDataResponseTaskShockingEventThreatResponse
CEventDataResponseTaskShockingEventWatch
CEventDataResponseTaskShockingNiceCar
CEventDataResponseTaskShockingPoliceInvestigate
CEventDataResponseTaskThreat
CEventDataResponseTaskTurnToFace
CEventDataResponseTaskWalkAway
CEventDataResponseTaskWalkRoundEntity
CEventDataResponseTaskWalkRoundFire
CEventDeadPedFound
CEventDeath
CEventDecisionMakerResponse
CEventDisturbance
CEventDraggedOutCar
CEventEditableResponse
CEventEncroachingPed
CEventEntityDamaged
CEventEntityDestroyed
CEventExplosion
CEventExplosionHeard
CEventFireNearby
CEventFootStepHeard
CEventFriendlyAimedAt
CEventFriendlyFireNearMiss
CEventGetOutOfWater
CEventGivePedTask
CEventGroupScriptAI
CEventGroupScriptNetwork
CEventGunAimedAt
CEventGunShot
CEventGunShotBulletImpact
CEventGunShotWhizzedBy
CEventHelpAmbientFriend
CEventHurtTransition
CEventInAir
CEventInfo
CEventInfoBase
CEventInjuredCryForHelp
CEventLeaderEnteredCarAsDriver
CEventLeaderExitedCarAsDriver
CEventLeaderHolsteredWeapon
CEventLeaderLeftCover
CEventLeaderUnholsteredWeapon
CEventMeleeAction
CEventMustLeaveBoat
CEventNetworkAdminInvited
CEventNetworkAttemptHostMigration
CEventNetworkBail
CEventNetworkCashTransactionLog
CEventNetworkCheatTriggered
CEventNetworkClanInviteReceived
CEventNetworkClanJoined
CEventNetworkClanKicked
CEventNetworkClanLeft
CEventNetworkClanRankChanged
CEventNetworkCloudEvent
CEventNetworkCloudFileResponse
CEventNetworkEmailReceivedEvent
CEventNetworkEndMatch
CEventNetworkEndSession
CEventNetworkEntityDamage
CEventNetworkFindSession
CEventNetworkFollowInviteReceived
CEventNetworkHostMigration
CEventNetworkHostSession
CEventNetworkIncrementStat
CEventNetworkInviteAccepted
CEventNetworkInviteConfirmed
CEventNetworkInviteRejected
CEventNetworkJoinSession
CEventNetworkJoinSessionResponse
CEventNetworkOnlinePermissionsUpdated
CEventNetworkPedLeftBehind
CEventNetworkPickupRespawned
CEventNetworkPlayerArrest
CEventNetworkPlayerCollectedAmbientPickup
CEventNetworkPlayerCollectedPickup
CEventNetworkPlayerCollectedPortablePickup
CEventNetworkPlayerDroppedPortablePickup
CEventNetworkPlayerJoinScript
CEventNetworkPlayerLeftScript
CEventNetworkPlayerScript
CEventNetworkPlayerSession
CEventNetworkPlayerSpawn
CEventNetworkPresenceInvite
CEventNetworkPresenceInviteRemoved
CEventNetworkPresenceInviteReply
CEventNetworkPresenceTriggerEvent
CEventNetworkPresence_StatUpdate
CEventNetworkPrimaryClanChanged
CEventNetworkRequestDelay
CEventNetworkRosChanged
CEventNetworkScAdminPlayerUpdated
CEventNetworkScAdminReceivedCash
CEventNetworkScriptEvent
CEventNetworkSessionEvent
CEventNetworkShopTransaction
CEventNetworkSignInStateChanged
CEventNetworkSocialClubAccountLinked
CEventNetworkSpectateLocal
CEventNetworkStartMatch
CEventNetworkStartSession
CEventNetworkStorePlayerLeft
CEventNetworkSummon
CEventNetworkSystemServiceEvent
CEventNetworkTextMessageReceived
CEventNetworkTimedExplosion
CEventNetworkTransitionEvent
CEventNetworkTransitionGamerInstruction
CEventNetworkTransitionMemberJoined
CEventNetworkTransitionMemberLeft
CEventNetworkTransitionParameterChanged
CEventNetworkTransitionStarted
CEventNetworkTransitionStringChanged
CEventNetworkVehicleUndrivable
CEventNetworkVoiceConnectionRequested
CEventNetworkVoiceConnectionResponse
CEventNetworkVoiceConnectionTerminated
CEventNetworkVoiceSessionEnded
CEventNetworkVoiceSessionStarted
CEventNetworkWithData
CEventNetwork_InboxMsgReceived
CEventNewTask
CEventObjectCollision
CEventOnFire
CEventOpenDoor
CEventPedCollisionWithPed
CEventPedCollisionWithPlayer
CEventPedEnteredMyVehicle
CEventPedJackingMyVehicle
CEventPedOnCarRoof
CEventPedSeenDeadPed
CEventPlayerCollisionWithPed
CEventPlayerDeath
CEventPlayerUnableToEnterVehicle
CEventPotentialBeWalkedInto
CEventPotentialBlast
CEventPotentialGetRunOver
CEventPotentialWalkIntoVehicle
CEventProvidingCover
CEventRanOverPed
CEventReactionEnemyPed
CEventReactionInvestigateDeadPed
CEventReactionInvestigateThreat
CEventRequestHelp
CEventRequestHelpWithConfrontation
CEventRespondedToThreat
CEventScanner
CEventScenarioForceAction
CEventScriptCommand
CEventScriptWithData
CEventShocking
CEventShockingBicycleCrash
CEventShockingBicycleOnPavement
CEventShockingCarAlarm
CEventShockingCarChase
CEventShockingCarCrash
CEventShockingCarOnCar
CEventShockingCarPileUp
CEventShockingDangerousAnimal
CEventShockingDeadBody
CEventShockingDrivingOnPavement
CEventShockingEngineRevved
CEventShockingExplosion
CEventShockingFire
CEventShockingGunFight
CEventShockingGunshotFired
CEventShockingHelicopterOverhead
CEventShockingHornSounded
CEventShockingInDangerousVehicle
CEventShockingInjuredPed
CEventShockingMadDriver
CEventShockingMadDriverBicycle
CEventShockingMadDriverExtreme
CEventShockingMugging
CEventShockingNonViolentWeaponAimedAt
CEventShockingParachuterOverhead
CEventShockingPedKnockedIntoByPlayer
CEventShockingPedRunOver
CEventShockingPedShot
CEventShockingPlaneFlyby
CEventShockingPotentialBlast
CEventShockingPropertyDamage
CEventShockingRunningPed
CEventShockingRunningStampede
CEventShockingSeenCarStolen
CEventShockingSeenConfrontation
CEventShockingSeenGangFight
CEventShockingSeenInsult
CEventShockingSeenMeleeAction
CEventShockingSeenNiceCar
CEventShockingSeenPedKilled
CEventShockingSiren
CEventShockingStudioBomb
CEventShockingVehicleTowed
CEventShockingVisibleWeapon
CEventShockingWeaponThreat
CEventShockingWeirdPed
CEventShockingWeirdPedApproaching
CEventShoutBlockingLos
CEventShoutTargetPosition
CEventShovePed
CEventSoundBase
CEventStatChangedValue
CEventStaticCountReachedMax
CEventStuckInAir
CEventSuspiciousActivity
CEventSwitch2NM
CEventUnidentifiedPed
CEventVehicleCollision
CEventVehicleDamage
CEventVehicleDamageWeapon
CEventVehicleOnFire
CEventWrithe
上次修改 2020-03-07: 1911 (a6ff24d)