Well, in this case, I guess I could create a class wherein there are numerous task sequences defined by specific names. i would then just reference those using those specific names? Still curious as to how a new task could be created though.
CapeCon
View profile on GTA5-Mods.com »
Posts made by CapeCon
-
RE: Creating Task Native from Scratch
-
RE: Creating Task Native from Scratch
Yeah, I imagine it would be quite arduous, but I imagine it must be doable?
I also was coming from the idea of using a task sequence. From my view of that, I was thinking maybe a task sequence could be made and compiled as a single task?
I am new to all of this and C#, disclaimer. But, I imagine having to copy and paste a whole bunch of code for a sequence of tasks is not as convenient as being able to use a single task reference.
Essentially, I am attempting to reconfigure ped AI, and officers. There are things I would like for the AI to consider, and for me to be able to reference cleanly, like having an officer take cover behind a car door specifically for cover. So, having things like TASK_SEEK_COVER_VEHICLE_DOOR1 I feel would make things easier.
-
RE: [C#] Instruct AI to take cover behind driver door
@Jitnaught @JohnFromGWN
I mean to say, if I am coding AI behavior and I want an officer to take cover behind a car door specifically, is there a particular task or lines of code that would allow them to carry out this function should they need to? -
Creating Task Native from Scratch
Hi,
There are FiveM native tasks, like TASK_CLIMB_LADDER, TASK_STAY_IN_COVER, TASK_USE_MOBILE_PHONE, etc.
How would I go about creating, and incorporating, a custom task native made from scratch that I can reference for future projects?
-
[C#] Instruct AI to take cover behind driver door
Hi everyone, How would I go about instructing AI to take cover behind the driver door of a car using C# as there is no specific task to do this?
-
AI Cover Point Detection
Hi,
How do AI engaged in combat detect cover points, such as behind an open car door, a wall, furniture, etc.?
Are there 'cover point' tags? If so, are they manually placed around the map? Or, do certain objects natively have such a tag embedded within them?
-
Using Native Flags In Custom Class
Hi guys,
Is it possible to make use of GTA's native flags in a new custom class?
In other words, is there a way for me to use behavior flags, like BF_CanCharge, that are used in combatbehaviour.meta in my own custom C# script?