Targeting Question

VisionV

Chieftain
Joined
Nov 2, 2001
Messages
13
Location
Oklahoma
I am a big fan of the improvements made in .30 and I look forward to the eventual re-entry of targeting for non-AI players.

Until then, I would like to add targeting to my modmod. How simple (or not) would this be? Could I get some sample code for targeting a specific unit on a specific tile like in .23? (SELECT TILE->SELECT UNIT, perhaps with some defineable filters set as to which types of units will appear in the select list). With some example code, I think I can make it work. It would help me if someone would be willing to point the way I need to head to do this (or tell me that it is much more complicated than it would seem to be, in which case I might just wait for the eventual update).

If someone really wanted to really help me a lot, they could show me some example code to switch something like charm to using the targeting code.

Thanks in advance!
 
I am a big fan of the improvements made in .30 and I look forward to the eventual re-entry of targeting for non-AI players.

Until then, I would like to add targeting to my modmod. How simple (or not) would this be? Could I get some sample code for targeting a specific unit on a specific tile like in .23? (SELECT TILE->SELECT UNIT, perhaps with some defineable filters set as to which types of units will appear in the select list). With some example code, I think I can make it work. It would help me if someone would be willing to point the way I need to head to do this (or tell me that it is much more complicated than it would seem to be, in which case I might just wait for the eventual update).

If someone really wanted to really help me a lot, they could show me some example code to switch something like charm to using the targeting code.

Thanks in advance!

Unfortunatly its nothing simple, its pretty complex requiring a lot of SDK and python work.
 
Back
Top Bottom