The weirdest funniest bug ever seen

The place for chatting and discussing subjects unrelated to Wesnoth.

Moderator: Forum Moderators

Post Reply
hermestrismi
Posts: 131
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia

The weirdest funniest bug ever seen

Post by hermestrismi »

I encounter this bug while trying to unstore an Ai side
I beleive if someone wanted to recreate this behaviour intentionally, he will need a ton of macro but here we are: the funniest bug ever seen
at the previous scenarion, make the AI side persistent then change the side leader and write this:

Code: Select all

	[event]
	name=side 3 turn
	first_time_only=no
	    [if]
		    [have_unit]
			id=Dulos
			[/have_unit]
			    search_recall_list=yes
			[then]
			    {MODIFY_UNIT id=Dulos id id=Dulos1}
			    {MOVE_UNIT id=Dulos1 22 4}
	            {MODIFY_UNIT id=Dulos1 ai ai_special=Guardian}
			[/then]
		[/if]
		[if]
		    [have_unit]
			id=Guad1
			[/have_unit]
			[then]
				[recall]
				    id=Guad1
				[/recall]
			    [move_unit]
				    [filter]
					id=Guad1
					[/filter]
					to_x=25
					to_y=5
				[/move_unit]
			[/then]
		[/if]			
	[/event]
and have fun
Author of The Dark Master (BfW1.12-1.14-1.16), CoCreator of The Dark Hordes (BfW1.12-1.14-1.16), Maintainer of Return of the Legion (BfW 1.16) Maintainer of Eternal Kingdom (BfW 1.16) ReCreator of An Elvish Scout (BfW 1.16)
Post Reply