|
Wspaedt1977 Beginner
Joined: 13 Feb 2022 Posts: 13
|
Posted: Thu Mar 10, 2022 6:22 pm
Not moving after death |
Ok It fires when I use the startalign alias, It kills the monsters, grabs all the stuff from corpses, then doesn't move to the next room. It then adds +1 to the step variable cause I seeming the value change in cmud. What am I missing as to why it won't move?
<class name="{bots|align}" id="232">
<alias name="startalign" id="233">
<value>shard monster</value>
</alias>
<var name="align" id="234">se|e|e|e|e|e|e|e|e|e|e|ne|sw|s|s|s|s|s|s|w|w|s|s|s|s|se|u|d|nw|w|w|w|w|w|w|sw|u|d|ne|n|n|n|n|w|w|n|n|n|n|n|n|nw</var>
<trigger priority="2350" id="235">
<pattern>You killed *.</pattern>
<value>get money from monster corpses
get shards from corpses
get shards
#t- bots
#wait 650
#t+ bots</value>
</trigger>
<trigger priority="2360" id="236">
<pattern>You can't seem to find your target to shard</pattern>
<value>%item( @align, (@steps))
#wait 1000
shard monster
#math steps {@steps+1}
#if @steps>=53 {
#t- bots
#wa 10000
#t+ bots
startalign
}</value>
</trigger>
<var name="steps" type="String" id="237"> </var>
</class> |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Thu Mar 10, 2022 8:31 pm |
Try:
#SEND {%item( @align, @steps)} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
chaossdragon Apprentice
Joined: 09 Apr 2008 Posts: 168
|
Posted: Thu Mar 10, 2022 11:15 pm |
Was going to say this sounds like the Issue I was having with "%pop(Var)" and having to use "#EXEC {%pop(Var)}
|
|
|
|
Wspaedt1977 Beginner
Joined: 13 Feb 2022 Posts: 13
|
Posted: Sat Apr 02, 2022 12:49 am |
Thanks
|
|
|
|
|
|