I have so far added the proper command button to the hero.
It shows up greyed out and over top of the hero when I select. As if the hero was a unit constructing building.
I added "InPalantir = yes" to the commandbuttons's code. This added the button to his palatir, but did not remove the button that displays over top the hero when I select him. How do I disable this button?
And what is missing for the hero to be able to actually construct the building. Is there are behavior he needs before he can construct. I looked through the porter.ini and could not distinguish any behavior that was to enable the ability to construct a building.
I am exercising futility, or is this possible?
EDIT: I have managed to get the button to show up on the right side of the screen like it does with a porter by adding the lines "PORTER DOZER" to the command "KindOf" in engineering parameters of the hero.
Note though that this crashes the game if an AI is in control of the hero/porter hybrid.
But the hero is still not able to construct the buildings, the button is still greyed out.
Edited by Ap0C552, 12 April 2008 - 11:30 PM.