Docu on undocumented Execs/Checks?

Post bug reports and ask for tech support here. Post any Community Site Requests here as well.

Moderator: Vic

Post Reply
Lunaticus_matrixforum
Posts: 834
Joined: Wed Dec 31, 2008 3:50 pm
Location: Germany

Docu on undocumented Execs/Checks?

Post by Lunaticus_matrixforum »

I have noticed that there are a number of really nice execs/checks which were brought into the game probably after the manual was done and are therefore not included in the manual (well not in my version at least).
Some of these are
ExecGetReconFrom
CheckIfNeighbour
CheckSfTypeGroupInXY

Now I found some documentation on the first two in the forum but the third one cannot even been googled. And unfortunately it does not seem to do what I had expected (count the number of all SFT of one type in a given hex). Anybody knows if there is any docu available? Has anybody used this before?
Many thanks in advance for any help.
Best Regards,
Lunaticus
Lunaticus_matrixforum
Posts: 834
Joined: Wed Dec 31, 2008 3:50 pm
Location: Germany

RE: Docu on undocumented Execs/Checks?

Post by Lunaticus_matrixforum »

After some more testing:
Is it possible that CheckSfTypeGroupInXY just counts the number of units in a hex which have a SFType in SFTypegroup but not the number of individual SFT?
So if you have one unit with three light tanks and one unit with 5 heavy tanks in the same hex then this check would return a two (and not an 8)?
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Docu on undocumented Execs/Checks?

Post by Vic »

Yes. thats the case. I used it as a binary test. 0 = no SFTypes of that group present. >1 Yes they are present.

I'll add some more extensive docs on these checks and execs in the next release.

kind regards,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Lunaticus_matrixforum
Posts: 834
Joined: Wed Dec 31, 2008 3:50 pm
Location: Germany

RE: Docu on undocumented Execs/Checks?

Post by Lunaticus_matrixforum »

Thanks Vic for helping to sort this out.
Lunaticus_matrixforum
Posts: 834
Joined: Wed Dec 31, 2008 3:50 pm
Location: Germany

RE: Docu on undocumented Execs/Checks?

Post by Lunaticus_matrixforum »

I have some additional questions on the campaign feature:
I honestly have not understood how the command ExecLoad_UnitTransfer(reg,areaslot,maxperhex) works? Are the units in the source scenario which are in a specific areaslot  transferred? Or are all units of the regime transferred and put into a certain areaslot? And which value of the slot are taken into consideration?
Also as a second question did I understand correctly that gamevariables are taken over to the next campaign but regimevariables are not? Or how can information be transferred to the next scenario in a campaign?
Many thanks in advance.
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Docu on undocumented Execs/Checks?

Post by Vic »

ORIGINAL: Lunaticus

I have some additional questions on the campaign feature:
I honestly have not understood how the command ExecLoad_UnitTransfer(reg,areaslot,maxperhex) works? Are the units in the source scenario which are in a specific areaslot  transferred? Or are all units of the regime transferred and put into a certain areaslot? And which value of the slot are taken into consideration?
Also as a second question did I understand correctly that gamevariables are taken over to the next campaign but regimevariables are not? Or how can information be transferred to the next scenario in a campaign?
Many thanks in advance.

gamevars are copied.

and for the exec. Reg= is the regime who's units should trandfer, on which areaslot ( 0 - 9) hexes >0 they should be placed in the next map (the higher the higher the priority to place on this hex), and howmany units max per hex should be placed.

I think there is a scenario of Tom Weber in the for approval box on the scenariobank. You can check it out to see how the execs work in action.

Kind reg,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Lunaticus_matrixforum
Posts: 834
Joined: Wed Dec 31, 2008 3:50 pm
Location: Germany

RE: Docu on undocumented Execs/Checks?

Post by Lunaticus_matrixforum »

Thanks for the explanation. Got this to work now.
However there is one a little bit surprising "trap": The system only takes over units to the next scenario if they are a HQ or are attached to a HQ.
All units not attached to any HQ get lost...
Post Reply

Return to “Advanced Tactics Support”