Class TaskInvoker
Namespace: GTA
Assembly: ScriptHookVDotNet3.dll
Syntax
Methods
|
Improve this Doc
View Source
AchieveHeading(Single, Int32)
Declaration
public void AchieveHeading(float heading, int timeout = 0)
Parameters
|
Improve this Doc
View Source
AimAt(Entity, Int32)
Declaration
public void AimAt(Entity target, int duration)
Parameters
|
Improve this Doc
View Source
AimAt(Vector3, Int32)
Declaration
public void AimAt(Vector3 target, int duration)
Parameters
|
Improve this Doc
View Source
Arrest(Ped)
Declaration
public void Arrest(Ped ped)
Parameters
Type |
Name |
Description |
Ped |
ped |
|
|
Improve this Doc
View Source
ChaseWithGroundVehicle(Ped)
Declaration
public void ChaseWithGroundVehicle(Ped target)
Parameters
Type |
Name |
Description |
Ped |
target |
|
|
Improve this Doc
View Source
ChaseWithHelicopter(Ped, Vector3)
Declaration
public void ChaseWithHelicopter(Ped target, Vector3 offset)
Parameters
|
Improve this Doc
View Source
ChaseWithPlane(Ped, Vector3)
Declaration
public void ChaseWithPlane(Ped target, Vector3 offset)
Parameters
|
Improve this Doc
View Source
ChatTo(Ped)
Declaration
public void ChatTo(Ped ped)
Parameters
Type |
Name |
Description |
Ped |
ped |
|
|
Improve this Doc
View Source
ClearAll()
Declaration
|
Improve this Doc
View Source
Declaration
public void ClearAllImmediately()
|
Improve this Doc
View Source
ClearAnimation(String, String)
Declaration
public void ClearAnimation(string animSet, string animName)
Parameters
|
Improve this Doc
View Source
ClearLookAt()
Declaration
public void ClearLookAt()
|
Improve this Doc
View Source
ClearSecondary()
Declaration
public void ClearSecondary()
|
Improve this Doc
View Source
Climb()
Declaration
|
Improve this Doc
View Source
ClimbLadder()
Declaration
public void ClimbLadder()
|
Improve this Doc
View Source
Cower(Int32)
Declaration
public void Cower(int duration)
Parameters
Type |
Name |
Description |
Int32 |
duration |
|
|
Improve this Doc
View Source
CruiseWithVehicle(Vehicle, Single, DrivingStyle)
Declaration
public void CruiseWithVehicle(Vehicle vehicle, float speed, DrivingStyle style = DrivingStyle.Normal)
Parameters
|
Improve this Doc
View Source
DriveTo(Vehicle, Vector3, Single, Single, DrivingStyle)
Declaration
public void DriveTo(Vehicle vehicle, Vector3 target, float radius, float speed, DrivingStyle style = DrivingStyle.Normal)
Parameters
|
Improve this Doc
View Source
EnterAnyVehicle(VehicleSeat, Int32, Single, EnterVehicleFlags)
Declaration
public void EnterAnyVehicle(VehicleSeat seat = VehicleSeat.Any, int timeout = -1, float speed = 1F, EnterVehicleFlags flag = EnterVehicleFlags.None)
Parameters
|
Improve this Doc
View Source
EnterVehicle(Vehicle, VehicleSeat, Int32, Single, EnterVehicleFlags)
Declaration
public void EnterVehicle(Vehicle vehicle, VehicleSeat seat = VehicleSeat.Any, int timeout = -1, float speed = 1F, EnterVehicleFlags flag = EnterVehicleFlags.None)
Parameters
|
Improve this Doc
View Source
EveryoneLeaveVehicle(Vehicle)
Declaration
public static void EveryoneLeaveVehicle(Vehicle vehicle)
Parameters
Type |
Name |
Description |
Vehicle |
vehicle |
|
|
Improve this Doc
View Source
FightAgainst(Ped)
Declaration
public void FightAgainst(Ped target)
Parameters
Type |
Name |
Description |
Ped |
target |
|
|
Improve this Doc
View Source
FightAgainst(Ped, Int32)
Declaration
public void FightAgainst(Ped target, int duration)
Parameters
Type |
Name |
Description |
Ped |
target |
|
Int32 |
duration |
|
|
Improve this Doc
View Source
FightAgainstHatedTargets(Single)
Declaration
public void FightAgainstHatedTargets(float radius)
Parameters
Type |
Name |
Description |
Single |
radius |
|
|
Improve this Doc
View Source
FightAgainstHatedTargets(Single, Int32)
Declaration
public void FightAgainstHatedTargets(float radius, int duration)
Parameters
|
Improve this Doc
View Source
FleeFrom(Vector3, Int32)
Declaration
public void FleeFrom(Vector3 position, int duration = -1)
Parameters
|
Improve this Doc
View Source
FleeFrom(Ped, Int32)
Declaration
public void FleeFrom(Ped ped, int duration = -1)
Parameters
Type |
Name |
Description |
Ped |
ped |
|
Int32 |
duration |
|
|
Improve this Doc
View Source
FollowPointRoute(Vector3[])
Declaration
public void FollowPointRoute(params Vector3[] points)
Parameters
Type |
Name |
Description |
Vector3[] |
points |
|
|
Improve this Doc
View Source
FollowPointRoute(Single, Vector3[])
Declaration
public void FollowPointRoute(float movementSpeed, params Vector3[] points)
Parameters
|
Improve this Doc
View Source
FollowToOffsetFromEntity(Entity, Vector3, Single, Int32, Single, Boolean)
Declaration
public void FollowToOffsetFromEntity(Entity target, Vector3 offset, float movementSpeed, int timeout = -1, float distanceToFollow = 10F, bool persistFollowing = true)
Parameters
|
Improve this Doc
View Source
GoStraightTo(Vector3, Int32, Single, Single)
Declaration
public void GoStraightTo(Vector3 position, int timeout = -1, float targetHeading = 0F, float distanceToSlide = 0F)
Parameters
|
Improve this Doc
View Source
GoTo(Entity, Vector3, Int32)
Declaration
public void GoTo(Entity target, Vector3 offset = default(Vector3), int timeout = -1)
Parameters
|
Improve this Doc
View Source
GoTo(Vector3, Int32)
Declaration
public void GoTo(Vector3 position, int timeout = -1)
Parameters
|
Improve this Doc
View Source
GuardCurrentPosition()
Declaration
public void GuardCurrentPosition()
|
Improve this Doc
View Source
HandsUp(Int32)
Declaration
public void HandsUp(int duration)
Parameters
Type |
Name |
Description |
Int32 |
duration |
|
|
Improve this Doc
View Source
Jump()
Declaration
|
Improve this Doc
View Source
LandPlane(Vector3, Vector3, Vehicle)
Declaration
public void LandPlane(Vector3 startPosition, Vector3 touchdownPosition, Vehicle plane = null)
Parameters
|
Improve this Doc
View Source
LeaveVehicle(LeaveVehicleFlags)
Declaration
public void LeaveVehicle(LeaveVehicleFlags flags = LeaveVehicleFlags.None)
Parameters
|
Improve this Doc
View Source
LeaveVehicle(Vehicle, LeaveVehicleFlags)
Declaration
public void LeaveVehicle(Vehicle vehicle, LeaveVehicleFlags flags)
Parameters
|
Improve this Doc
View Source
LeaveVehicle(Vehicle, Boolean)
Declaration
public void LeaveVehicle(Vehicle vehicle, bool closeDoor)
Parameters
|
Improve this Doc
View Source
LookAt(Entity, Int32)
Declaration
public void LookAt(Entity target, int duration = -1)
Parameters
|
Improve this Doc
View Source
LookAt(Vector3, Int32)
Declaration
public void LookAt(Vector3 position, int duration = -1)
Parameters
|
Improve this Doc
View Source
ParachuteTo(Vector3)
Declaration
public void ParachuteTo(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
|
Improve this Doc
View Source
ParkVehicle(Vehicle, Vector3, Single, Single, Boolean)
Declaration
public void ParkVehicle(Vehicle vehicle, Vector3 position, float heading, float radius = 20F, bool keepEngineOn = false)
Parameters
|
Improve this Doc
View Source
Declaration
public void PerformSequence(TaskSequence sequence)
Parameters
|
Improve this Doc
View Source
PlayAnimation(String, String)
Declaration
public void PlayAnimation(string animDict, string animName)
Parameters
|
Improve this Doc
View Source
PlayAnimation(String, String, Single, Int32, AnimationFlags)
Declaration
public void PlayAnimation(string animDict, string animName, float blendInSpeed, int duration, AnimationFlags flags)
Parameters
|
Improve this Doc
View Source
PlayAnimation(String, String, Single, Int32, Single)
Declaration
public void PlayAnimation(string animDict, string animName, float speed, int duration, float playbackRate)
Parameters
|
Improve this Doc
View Source
PlayAnimation(String, String, Single, Single, Int32, AnimationFlags, Single)
Declaration
public void PlayAnimation(string animDict, string animName, float blendInSpeed, float blendOutSpeed, int duration, AnimationFlags flags, float playbackRate)
Parameters
|
Improve this Doc
View Source
PutAwayMobilePhone()
Declaration
public void PutAwayMobilePhone()
|
Improve this Doc
View Source
PutAwayParachute()
Declaration
public void PutAwayParachute()
|
Improve this Doc
View Source
RappelFromHelicopter()
Declaration
public void RappelFromHelicopter()
|
Improve this Doc
View Source
ReactAndFlee(Ped)
Declaration
public void ReactAndFlee(Ped ped)
Parameters
Type |
Name |
Description |
Ped |
ped |
|
|
Improve this Doc
View Source
ReloadWeapon()
Declaration
public void ReloadWeapon()
|
Improve this Doc
View Source
RunTo(Vector3, Boolean, Int32)
Declaration
public void RunTo(Vector3 position, bool ignorePaths = false, int timeout = -1)
Parameters
|
Improve this Doc
View Source
ShootAt(Vector3, Int32, FiringPattern)
Declaration
public void ShootAt(Vector3 position, int duration = -1, FiringPattern pattern = FiringPattern.Default)
Parameters
|
Improve this Doc
View Source
ShootAt(Ped, Int32, FiringPattern)
Declaration
public void ShootAt(Ped target, int duration = -1, FiringPattern pattern = FiringPattern.Default)
Parameters
|
Improve this Doc
View Source
ShuffleToNextVehicleSeat(Vehicle)
Declaration
public void ShuffleToNextVehicleSeat(Vehicle vehicle = null)
Parameters
Type |
Name |
Description |
Vehicle |
vehicle |
|
|
Improve this Doc
View Source
Skydive()
Declaration
|
Improve this Doc
View Source
SlideTo(Vector3, Single)
Declaration
public void SlideTo(Vector3 position, float heading)
Parameters
|
Improve this Doc
View Source
StandStill(Int32)
Declaration
public void StandStill(int duration)
Parameters
Type |
Name |
Description |
Int32 |
duration |
|
|
Improve this Doc
View Source
StartScenario(String, Vector3, Single)
Declaration
public void StartScenario(string name, Vector3 position, float heading)
Parameters
|
Improve this Doc
View Source
StartScenario(String, Single)
Declaration
public void StartScenario(string name, float heading)
Parameters
|
Improve this Doc
View Source
SwapWeapon()
Declaration
|
Improve this Doc
View Source
TurnTo(Entity, Int32)
Declaration
public void TurnTo(Entity target, int duration = -1)
Parameters
|
Improve this Doc
View Source
TurnTo(Vector3, Int32)
Declaration
public void TurnTo(Vector3 position, int duration = -1)
Parameters
|
Improve this Doc
View Source
UpdateParachuteTarget(Ped, Vector3)
Declaration
public static void UpdateParachuteTarget(Ped ped, Vector3 position)
Parameters
|
Improve this Doc
View Source
UseMobilePhone()
Declaration
public void UseMobilePhone()
|
Improve this Doc
View Source
UseMobilePhone(Int32)
Declaration
public void UseMobilePhone(int duration)
Parameters
Type |
Name |
Description |
Int32 |
duration |
|
|
Improve this Doc
View Source
UseParachute()
Declaration
public void UseParachute()
|
Improve this Doc
View Source
VehicleChase(Ped)
Declaration
public void VehicleChase(Ped target)
Parameters
Type |
Name |
Description |
Ped |
target |
|
|
Improve this Doc
View Source
VehicleShootAtPed(Ped)
Declaration
public void VehicleShootAtPed(Ped target)
Parameters
Type |
Name |
Description |
Ped |
target |
|
|
Improve this Doc
View Source
Wait(Int32)
Declaration
public void Wait(int duration)
Parameters
Type |
Name |
Description |
Int32 |
duration |
|
|
Improve this Doc
View Source
WanderAround()
Declaration
public void WanderAround()
|
Improve this Doc
View Source
WanderAround(Vector3, Single)
Declaration
public void WanderAround(Vector3 position, float radius)
Parameters
|
Improve this Doc
View Source
WarpIntoVehicle(Vehicle, VehicleSeat)
Declaration
public void WarpIntoVehicle(Vehicle vehicle, VehicleSeat seat)
Parameters
|
Improve this Doc
View Source
WarpOutOfVehicle(Vehicle)
Declaration
public void WarpOutOfVehicle(Vehicle vehicle)
Parameters
Type |
Name |
Description |
Vehicle |
vehicle |
|