|
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Thu Jun 05, 2003 5:51 pm
Help with some #trig {??????|?????} |
#trig {^{The Master Fighter is DEAD!!$|You * The Master Fighter * energy ball.$| your energy ball. ~[%d~]$}
Just want it to look for either of those. |
|
|
|
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Thu Jun 05, 2003 5:52 pm |
I know it is
#trig {^{???|???|???}$} |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jun 05, 2003 8:46 pm |
What's the question?
LightBulb
Advanced Member |
|
|
|
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Fri Jun 06, 2003 9:53 am |
ooc It is not working And I would think it would besides maybe the %w and stuff is there a way to make it look for it
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Jun 06, 2003 11:53 am |
Yes, there's is a very easy way to get this to work. Change it from:
#TRIGGER {^{The Master Fighter is DEAD!!$|You * The Master Fighter * energy ball.$| your energy ball. ~[%d~]$} {code}
to:
#ALIAS myalias {code}
#TRIGGER {^The Master Fighter is DEAD!!$} {myalias}
#TRIGGER {^You * The Master Fighter * energy ball.$} {myalias}
#TRIGGER {your energy ball. ~[%d~]$} {myalias}
Kjata |
|
|
|
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Fri Jun 06, 2003 1:23 pm |
Only prob is with that is I am using the it in a state so it is more like this
state 0
#trigger {promt for focus (not in it need focus to cast spells just like mana)}{#if (focus > x and yorn = "y"(not in knows for if mana is enough)) {cast ???}}
state 1
Would be the thing up there |
|
|
|
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Fri Jun 06, 2003 1:27 pm |
no of
#cond but I do not know how many lines I need
it is like a charge attack. Charge ??????
about 4rounds or so of combat later it can go off or it can go off next round of combat |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Jun 06, 2003 6:04 pm |
I did not understand your last two replies at all. Try once more, a bit more clearer this time.
Kjata |
|
|
|
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Sat Jun 07, 2003 9:04 am |
Using states in the newest version of Zmud.
Sso what you are trying to get me to do will not work I do not think.
In all actuallity I am wanting to wait to do the first part after the second. But Before the second goes off it needs to detirmine if the fight is over or the thing hit or missed or what not. That is why I was thinking about states. |
|
|
|
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Sat Jun 07, 2003 11:16 am |
Just saw the #state comand. Can you set a triggers #state to 0 through another triger.
In my start the fight trigger which would be like the
#trigger {the ??? ???? ???? is dead}
#cond{kill ?????;#state ????? 0}
But still have the state so it is
state 1
#trigger{get mana}
#cond{#if (Mana>XXX and HP>XXX){charge energy}}
state 2
#trigger {you * ??? ????? ???? with your energy ball}
The reason I am doing this is it charges for severall rounds of combat. Can either enter energy or charge energy. The energy is just a basic attack and does not do much the charge version of it can charge to 4 or 5 rounds of combat and does not have to go off in the fight with that mob. So I am trying to make a way if it goes off during that fight it can then check again and cast it again if it does not go off during the fight it can pick up in next fight. |
|
|
|
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Sat Jun 07, 2003 11:25 am |
Think I got it working hehe. As soon as I saw the #state comand I thought I would have it sorry for the problems I have cuased.
|
|
|
|
|
|