Aller au contenu

Photo

disabling abilities


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Caldarin V

Caldarin V
  • Members
  • 269 messages
is there a way to make players unable to use their abilities until a trigger is tripped? Like be unable to cast spells until a certain point in a quest?

#2
Nattfodd

Nattfodd
  • Members
  • 321 messages
Don't give them the ability till the quest? :P

#3
_L_o_B_o_

_L_o_B_o_
  • Members
  • 117 messages
I have not tried it, but it seems possible. There are 2 functions that would allow to do it: RemoveAbility() and GetAbilityList().

The only problem if you remove abilities is how to recover them later (supposing you want to use it with the player's party). Here you could make a backup of the abilities using a dummy creature (there is an AddAbility() function too). Just before removing the abilities of a creature, add them to this dummy creature (you would need a dummy creature for each party member). When the trigger is activated, cycle through your backups to give back the removed abilities.

Modifié par _L_o_B_o_, 17 janvier 2011 - 08:42 .


#4
amcnow

amcnow
  • Members
  • 511 messages
I would look into effects. I noticed the stun effect disables abilities when it is active. I would look deeper into it (and effects in general) to see if it yields any clues.

Modifié par amcnow, 17 janvier 2011 - 05:56 .