I want to add Elvenwood to my hero, I've tried some things, but it never works, does anyone know why this is?
Here's my code:
Object.ini
Behavior = ElvenWoodSpecialPower ModuleTag_ElvenWood SpecialPowerTemplate = SpellBookElvenWood ElvenGroveObject = ElvenGrove ElvenWoodRadius = SPELLBOOK_TAINT_RADIUS ElvenWoodFX = FX_ElvenWoodSpellFX ElvenWoodOCL = OCL_ElvenWoodSeed ; CreateLocation = CREATE_AT_LOCATION AvailableAtStart = Yes StartsPaused = Yes End Behavior = UnpauseSpecialPowerUpgrade ModuleTag_ElvenWoodEnabler SpecialPowerTemplate = SpellBookElvenWood TriggeredBy = Upgrade_ObjectLevel5 End
commandbutton.ini
CommandButton Command_FuramorElvenWood Command = SPECIAL_POWER SpecialPower = SpellBookElvenWood Options = NEED_TARGET_POS TextLabel = CONTROLBAR:ElvenWood ButtonImage = SBGood_ElvenWood ButtonBorderType = ACTION DescriptLabel = CONTROLBAR:TooltipElvenWood RadiusCursorType = ElvenWoodRadiusCursor InPalantir = Yes CursorName = AttackObj InvalidCursorName = GenericInvalid End
and of course it's in the commandset.
P.S. The game doesn't give an error, the comandbutton just doesn't show up.
Edited by thekiller11, 31 October 2007 - 12:00 PM.