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?
disabling abilities
Débuté par
Caldarin V
, janv. 09 2011 09:32
#1
Posté 09 janvier 2011 - 09:32
#2
Posté 16 janvier 2011 - 08:00
Don't give them the ability till the quest?
#3
Posté 17 janvier 2011 - 08:41
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.
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
Posté 17 janvier 2011 - 05:55
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 .





Retour en haut






