Aller au contenu

Photo

How to kill the drop stealth call


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

#1
illion_

illion_
  • Members
  • 21 messages
Hello,

I would like to know how you kill the call to drop stealth when you start attacking, i.e you will keep attacking in stealth. :bandit:

/illion

#2
CID-78

CID-78
  • Members
  • 1 124 messages
seem like EVENT_TYPE_ABILITY_CAST_IMPACT is the source of most stealth breaking events. not sure if it cover regular combat. look for DropStealth() or EVENT_TYPE_DROP_STEALTH. it might be a hardcoded part of the invinsibility effect. seem like the effect is still in effect during the attack part of the combat core.

#3
illion_

illion_
  • Members
  • 21 messages
I think I found it, every enemy that gets attacked triggers this event:

EVENT_TYPE_ATTACKED

and a perception trigger is executed:

WR_TriggerPerception(OBJECT_SELF, oAttacker);
WR_TriggerPerception(oAttacker, OBJECT_SELF);

by disabling this trigger I can fight while stealthed.

Modifié par illion_, 16 février 2010 - 03:05 .