Jump to content

GetDetected condition - How to use?


zamato

Recommended Posts

Im trying to create a perk which gives Magic Magnitude+50% effect when magic is casted at an undetected foe. What i did was to set this following condition in the Target tab.

 

Subject GetDetected PlayerRef =0

 

It is working quite well as a faux Magic Sneak attack. But how can i add the words "Sneak Attack for XX times damage" word to come out when it procs?

Edited by zamato
Link to comment
Share on other sites

You'll probably want to use the Message script, show function specifically.

 

Create and define your message as a notification and pay attention to the "Notes" section on the Show Message page to see how to put your wildcard in the right place.

 

Along the lines of:

 

Message Property YourMessage auto

float DamageModifer = XX

 

YourMessage.Show(DamageModifier)

 

The Show function should be called in whichever event you're using, YourMessage you define as a property and select the message you created previously and DamageModifer will be whatever value you want to use. Alternatively, you can just enter the number directly without a variable, as: YourMessage.Show(XX).

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...