tout dépend tu pouvoir
Appel des elfes utilise ce behavior :
Behavior = OCLSpecialPower ModuleTag_SummonElves
SpecialPowerTemplate = SpellBookElvenAllies
OCL = OCL_SpawnElvenWarriorsEgg
TriggerFX = FX_ElvenAlliesSummon
CreateLocation = CREATE_AT_LOCATION
UpgradeName = Upgrade_ElvenAllies
AvailableAtStart = No
End
et ce commandbutton :
CommandButton Command_SpellBookElvenAllies
Command = SPELL_BOOK
SpecialPower = SpellBookElvenAllies
ButtonImage = SBGood_ElvenAllies
Options = NEED_TARGET_POS ; Huh, you can´t have this flag and a radius cursor: CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:SummonElvenAllies
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipSummonElvenAllies
RadiusCursorType = ELVEN_ALLIES
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End
en modifiant le button et lègerement le behavior, tu devrais pouvoir faire un truc potable