Request for AIHCTraceRayId command tweak (Legacy C++ API)

Request for AIHCTraceRayId command tweak (Legacy C++ API)

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Request for AIHCTraceRayId command tweak (Legacy C++ API)

Post by slogic »

Can smb add reading feature ID also if trace was successful? I would like to implement destroying barricades on group way.

It's rts\ExternalAI\AICheats.cpp, int CAICheats::HandleCommand(int commandId, void *data). When calling helper->TraceRay() there are 7 arguments passed, and feature can be retrieved via 8th.
Last edited by slogic on 10 Sep 2010, 12:40, edited 1 time in total.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Request for AIHCTraceRayId command tweak (Legacy C++ API)

Post by hoijui »

i will have to alter this.
the specs for the callback & commands, allows only one return value. so it will be split into two commands. in other words, do not use as it is yet, and wait for the change please.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Request for AIHCTraceRayId command tweak (Legacy C++ API)

Post by Kloot »

Why do you need more than one return value?
Post Reply

Return to “AI”