Page 1 of 1

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

Posted: 08 Sep 2010, 12:32
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.

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

Posted: 08 Sep 2010, 22:51
by hoijui

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

Posted: 10 Sep 2010, 11:33
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.

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

Posted: 10 Sep 2010, 11:59
by Kloot
Why do you need more than one return value?