Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1811

Users’ Forum • Re: Handle event when two specific units are adjacent

$
0
0
I figured out after some resource. Just a small change was needed: place the filter_adjacent inside the filter tag like this:

Code:

    [event]name=moveto[filter]type=Caravan[filter_adjacent]id=$gear_hoardercount=1[/filter_adjacent][/filter]{SAYS Butch "Now get out of here!"}[endlevel]result=victory[/endlevel][/event][event]name=moveto[filter]id=$gear_hoarder[filter_adjacent]type=Caravancount=1[/filter_adjacent][/filter]{SAYS Butch "Now get out of here!"}[endlevel]result=victory[/endlevel][/event]

Statistics: Posted by Samaximus — Today, 3:58 pm



Viewing all articles
Browse latest Browse all 1811

Trending Articles