Thread Tools Display Modes
05-30-08, 07:26 AM   #1
tommyo
A Defias Bandit
Join Date: May 2008
Posts: 2
SCT help

hi,
Iīm searching for some help to make something in SCT work.
In an old version of sct it was possible to show up critical hits like this:


I think it was this option in the sct_event_config:
--critical hits
[21] = {name="Critical! (*1: *3)", argcount=3, search="Your (.+) crits (.+) for (%d+)", r=256/256, g=256/256, b=0/256},
[22] = {name="Critical! (*2)", argcount=2, search="You crit (.+) for (%d+)", r=256/256, g=256/256, b=0/256},

the newest versions havenīt this option anymore and when I copy it into the event config it didnīt work. can someone help me?

(i dont use SCTD because i only want to show up crits not the normal dmg)
  Reply With Quote
05-30-08, 04:32 PM   #2
Maccaa
A Fallenroot Satyr
 
Maccaa's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 27
Code:
[21] = {name="Critical", display="Critical! (*1: *4)", type="DAMAGE", critical=1, override=true, target="TARGET", source="SELF", r=256/256, g=256/256, b=0/256, iscrit=1}
That should work.

The new SCT has an in-game event editor in the menu which is very easy to use and saves you having to edit the .lua file

Last edited by Maccaa : 05-30-08 at 04:38 PM.
  Reply With Quote
05-31-08, 06:22 AM   #3
tommyo
A Defias Bandit
Join Date: May 2008
Posts: 2
Thanks for the tip, the event editor is awesome!
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » SCT help


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off