Task.FightAgainst???
-
I followed a tutorial where the guy showed code but with almost no explanations.
One method he used for a ped was Task.FightAgainst.
How did he even know this existed?
I've found documentation on all animations and all natives but can't find any on tasks.
I know that with intellisense in VS you can see all the tasks but can someone point me to the documentation of these tasks? Thanks!
-
These are all of the task functions in SHVDN: https://github.com/crosire/scripthookvdotnet/blob/main/source/scripting_v2/GTA/Entities/Peds/Tasks.cs
Use alloc8or's NativeDB to see how the native functions are used: https://alloc8or.re/gta5/nativedb/
-
@Jitnaught thank you so much. I really had trouble finding documentation. I did find the native functions, but on another site.
I also had found this page last night, but it really was the tasks i wanted to see to get a more complete picture.https://github.com/crosire/scripthookvdotnet/wiki/How-Tos#spawn-props
Ok, now it's time to start reading, experimenting, learning, and creating content.
-
Yeah there's not much documentation for SHVDN. IntelliSense and the source code are really the best ways to find functions and learn how they work.
Good luck and have fun