creating abilitys that work untill canceled.

as the title says, im trying to create an ability that works something like the PSI trade port, that is on  until canceled. However i do believe that it uses a entity bool modifier to get the "on" part of the ability, so my question is, can you create an ability wich you c an turn on and off (for a capital ship mind you) at will. if so can someone post an example?
2,191 views 2 replies
Reply #1 Top
Have a look at charged missiles for the Varsi assaliant. It uses "applyorremovebuff" action type.

Heres the specific info:

buffInstantActionType "ApplyOrRemoveBuffToSelf"
instantActionTriggerType "AlwaysPerform"
buffType "BuffChargedMissilesSelf"
effectInfo
effectAttachInfo
attachType "Center"
smallEffectName ""
largeEffectName ""
soundID "EFFECT_PhaseCloak"
toggleStateOnNameStringID "IDS_ABILITY_CHARGEDMISSILESACTIVE_NAME"
toggleStateOnDescStringID "IDS_ABILITY_CHARGEDMISSILESACTIVE_DESCRIPTION"


The rest is as any normal ability.
Reply #2 Top
oh? never bothered to look around for examples. meh, thanks tho.