|
|
Hi,
SetText(param3) gives me now the parameter of the Watcher1. So it always takes the first watcher.Code:watch="Watcher1{index} Watcher2{index}" ontrigger="If(param1 == 0 or param1 == {team}, SetText(param3));"
How can I choose from which watcher the parameter should be taken?
Tried it like this:
But it's not workingCode:watch="Watcher1{index} Watcher2{index}" ontrigger="If(param1 == 0 or param1 == {team}, SetText(Watcher2.param3));"
Anyone knows?
Thanks!
www.HoNTracking.com
- All Matches -
- Associates -
- Fight -
- Tracking List -
![]()
Does nobody know? I really need some help with this. Would be great, thanks!
www.HoNTracking.com
- All Matches -
- Associates -
- Fight -
- Tracking List -
![]()
The only way you can use two (or more) watchers at the same time (as far as I know).
Now if Watcher1 gets triggered, it uses param of Watcher1Code:watch="Watcher1 Watcher2" ontrigger=" if(Watcher1, Echo(param)); if(Watcher2, Echo(param)); "
and if Watcher2 gets triggered it uses param of Watcher2.
Though if you use a param in the ontrigger="" that one of the watchers does not have, the console gets spammed with errors.
Last edited by Quzzap; 12-19-2010 at 08:10 AM.