mail[Wesnoth-commits] r27270 - /branches/1.4/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by cycholka on June 17, 2008 - 22:54:
Author: cycholka
Date: Tue Jun 17 22:54:28 2008
New Revision: 27270

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27270&view=rev
Log:
backport of #27269

Modified:
    
branches/1.4/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg

Modified: 
branches/1.4/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg?rev=27270&r1=27269&r2=27270&view=diff
==============================================================================
--- 
branches/1.4/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg
 (original)
+++ 
branches/1.4/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg
 Tue Jun 17 22:54:28 2008
@@ -251,26 +251,30 @@
                 description=Bugg
             [/have_unit]
             [then]
-                #override kills being processed after
-                #units being created if they're in the same event
-                [command]
-                    [kill]
-                        description=Bugg
-                    [/kill]
-
-                    {LOYAL_UNIT 2 (Sea Orc) 16 18 (Bugg) ( _ "Bugg")}
-
-                    [message]
-                        description=Bugg
-                        message= _ "Ha ha ha! Now orcs will rule over land 
and sea!"
-                    [/message]
-
-                    [message]
-                        description=Dwaba-Kukai
-                        image=portraits/James_Woo/orc-warlord2.png
-                        message= _ "(Sigh) Will someone kill this idiot for 
me, please?"
-                    [/message]
-                [/command]
+
+                               [store_unit]
+                                       variable=bugg_flip
+                                       [filter]
+                                               description=Bugg
+                                       [/filter]
+                                       kill=yes
+                               [/store_unit]
+
+                {LOYAL_UNIT 2 (Sea Orc) $bugg_flip.x $bugg_flip.y (Bugg) ( _ 
"Bugg")}
+
+                               {CLEAR_VARIABLE bugg_flip}
+
+                [message]
+                    description=Bugg
+                    message= _ "Ha ha ha! Now orcs will rule over land and 
sea!"
+                [/message]
+
+                [message]
+                    description=Dwaba-Kukai
+                    image=portraits/James_Woo/orc-warlord2.png
+                    message= _ "(Sigh) Will someone kill this idiot for me, 
please?"
+                [/message]
+
             [/then]
         [/if]
     [/event]




Related Messages


Powered by MHonArc, Updated Wed Jun 18 00:01:48 2008