Quantcast

Jump to content

» «
Photo

CTask ID's dump

4 replies to this topic
CamxxCore
  • CamxxCore

    Mark Chump

  • Members
  • Joined: 19 Oct 2013
  • Canada

#1

Posted 21 October 2016 - 04:14 AM

Here is a list of pretty well every CTask ID number in the game. These are used internally but can be checked against the native function AI::GET_IS_TASK_ACTIVE to get info about the task a ped is performing. The list is complete other than tasks that aren't implemented by the game (the function to return the task ID throws an exception)

click me

  • ikt, Fireboyd78, MrGTAmodsgerman and 5 others like this

MrGTAmodsgerman
  • MrGTAmodsgerman

    Inventor

  • Members
  • Joined: 02 Jan 2012
  • Germany

#2

Posted 21 October 2016 - 09:39 AM

Thank You! :lol:

But what are the parameters for every single CTask?


CamxxCore
  • CamxxCore

    Mark Chump

  • Members
  • Joined: 19 Oct 2013
  • Canada

#3

Posted 22 October 2016 - 11:31 PM

Thank You! :lol:

But what are the parameters for every single CTask?

 

That I don't know  :p


InfamousSabre
  • InfamousSabre

    Harpocrates

  • Members
  • Joined: 03 Jan 2013

#4

Posted 23 October 2016 - 04:36 AM

Oh this is going to help lots with A.I.! :D
I found out a couple of these trying to manipulate current task states, but wow. You did it again! Thanks!

CamxxCore
  • CamxxCore

    Mark Chump

  • Members
  • Joined: 19 Oct 2013
  • Canada

#5

Posted 24 October 2016 - 02:33 AM

Oh this is going to help lots with A.I.! :D
I found out a couple of these trying to manipulate current task states, but wow. You did it again! Thanks!


Glad I could help. :D




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users