--- Log opened Tue Jul 12 00:00:22 2016 20160712 00:26:15-!- Woseshaman [5f5beb48@gateway/web/freenode/ip.95.91.235.72] has joined #wesnoth 20160712 00:28:59-!- Woseshaman [5f5beb48@gateway/web/freenode/ip.95.91.235.72] has quit [Client Quit] 20160712 00:48:58-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has joined #wesnoth 20160712 01:09:18-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has joined #wesnoth 20160712 01:21:24-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160712 01:33:23-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has joined #wesnoth 20160712 01:44:48-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160712 01:45:11-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has joined #wesnoth 20160712 02:06:41-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160712 02:13:55-!- woseshaman_ [5f5beb48@gateway/web/freenode/ip.95.91.235.72] has joined #wesnoth 20160712 02:26:14-!- ArneBab [~quassel@55d4064a.access.ecotel.net] has joined #wesnoth 20160712 02:27:52< woseshaman_> anyone here who is experienced enough with WML to help me out with a few questions i have every now and then? 20160712 02:28:51< vultraz> that's generally what we do here 20160712 02:30:03-!- ArneBab_ [~quassel@55d459c4.access.ecotel.net] has quit [Ping timeout: 240 seconds] 20160712 02:30:43< woseshaman_> well first of all, is it possible to assign an id to a recruited unit? 20160712 02:30:59< vultraz> yes 20160712 02:32:08< vultraz> [event] name = recruit [filter] side = 1 id = something [filter] [modify_unit] [filter] id = $unit.id [/filter] id = new_id [/modify_unit] [/event] 20160712 02:32:11< vultraz> something like that 20160712 02:32:44< woseshaman_> im trying to give an id to a unit that moves to a specific coordinate 20160712 02:32:53< vultraz> er, typo, in [filter] you probably want to filter on type not id 20160712 02:33:02< celticminstrel> A better question is, why do you want to change a unit's ID. 20160712 02:33:12< celticminstrel> It's probably not a good idea to change a unit's IS. 20160712 02:33:15< celticminstrel> ^ID 20160712 02:33:25< celticminstrel> In a recruit event it's probably fine, though still weird. 20160712 02:33:27< vultraz> woseshaman_: [event] name=moveto [filter] x,y=x,y [/filter] [modify_unit] [filter] id = $unit.id [/filter] id = new_id [/modify_unit] [/event] 20160712 02:33:39< celticminstrel> But you don't want to give it an ID when it moves to a specific coordinate. 20160712 02:33:51< celticminstrel> You could instead assign it a role, for example. 20160712 02:34:09< celticminstrel> Why do you feel that you need to give it an ID? 20160712 02:34:13< woseshaman_> is there a way to recall that specific unit that moved to the hex without assigning an id?? 20160712 02:34:24< celticminstrel> There are ways, yes. 20160712 02:34:36< celticminstrel> You could assign a role instead of an ID, or you could set a unit variable. 20160712 02:35:26< woseshaman_> i tried to use role already, but i cant get it to work 20160712 02:35:30< celticminstrel> The problem with assigning an ID is that if you have a situation where some unique unit is the one to move to that space, any [message] lines for that unit will thereafter be skipped because its ID is no longer what it's expected to be. 20160712 02:35:47< celticminstrel> You can use vultraz's code and just substitude id with role. 20160712 02:36:14< celticminstrel> The [role] tag isn't the only way to assign a role, and is really best used when you don't care exactly which unit gets the role. 20160712 02:36:52< celticminstrel> (id=$unit.id would be unchanged, but you'd have role=new_role instead of id=new_id) 20160712 02:37:21< celticminstrel> (To set a unit variable you'd have [variables]something=yes[/variables] instead of id=new_id) 20160712 02:37:49< woseshaman_> lets say i assigned a role to that unit, how do i recall it at the beginning of a scenario depending on its role? 20160712 02:37:59< celticminstrel> [recall]role=something[/recall] 20160712 02:39:02< woseshaman_> i tried that but it didnt seem to work, im trying to recall it to a different side than before though so that might be the problem 20160712 02:39:11< celticminstrel> That would be a problem, yes. 20160712 02:39:35< celticminstrel> If you want to change a unit's side you need to use [modify_unit] or similar. 20160712 02:41:02< woseshaman_> how exactly do sides work anyway? 20160712 02:41:20< woseshaman_> uhh 20160712 02:41:29< woseshaman_> lemme make that question more clear first 20160712 02:42:33< woseshaman_> assuming side 1 in scenario 1 has a different leader than side 1 in scenario 2, does side 1 in scenario 2 keep the recall list? 20160712 02:43:40< vultraz> ummm 20160712 02:43:46< celticminstrel> By default, I think recall lists are assigned based on the ID of the leader, but I'm not quite sure. 20160712 02:43:54< vultraz> I think if you set the same save_id, they would 20160712 02:44:32< celticminstrel> If I'm right, it means that if side 1's leader is id=blah in scenario 1 and side 2's leader is id=blah in scenario 2, then side 2 in scenario 2 would have access to the recall list of side 1 in scenario 1. 20160712 02:44:55< celticminstrel> vultraz: Yes, it's based on save_id, but if not specified I'm pretty sure that's equal to leader id? 20160712 02:45:13< vultraz> no idea 20160712 02:45:27< woseshaman_> i could try setting the ids of the 2 leaders to the same value and see if that works 20160712 02:45:44< celticminstrel> If the leaders are not the same, then set save_id instead. 20160712 02:45:52< celticminstrel> Within the [side] tags. 20160712 02:49:13< woseshaman_> how do i use save_id? just put save_id = x in the side tags for the sides in the 2 scenarios? 20160712 02:49:23< celticminstrel> Yeah. 20160712 02:52:01< woseshaman_> yup that worked 20160712 02:52:04< woseshaman_> thanks :D 20160712 02:52:50-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20160712 03:33:28-!- RatArmy [~RatArmy@133.15.175.65] has joined #wesnoth 20160712 03:46:30-!- hk238 [~kvirc@t224.ip7.netikka.fi] has joined #wesnoth 20160712 04:12:47-!- RatArmy [~RatArmy@133.15.175.65] has quit [Ping timeout: 244 seconds] 20160712 04:37:39-!- edaq [~edaq3@h184-60-40-94.cytnin.broadband.dynamic.tds.net] has joined #wesnoth 20160712 04:38:25-!- RatArmy [~RatArmy@133.15.175.65] has joined #wesnoth 20160712 04:50:11-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has quit [Ping timeout: 240 seconds] 20160712 05:11:14-!- Kwandulin [~Miranda@p200300760F2D8148EC267C7F0CD43E48.dip0.t-ipconnect.de] has joined #wesnoth 20160712 05:43:21-!- RatArmy [~RatArmy@133.15.175.65] has quit [Quit: Konversation terminated!] 20160712 05:56:42-!- iatyr [~iatyr@71-87-82-91.dhcp.krny.ne.charter.com] has quit [Quit: Leaving] 20160712 05:57:33-!- Vadatajs [~Vadatajs@63-152-112-35.cdrr.qwest.net] has quit [Ping timeout: 240 seconds] 20160712 05:59:49-!- Vadatajs [~Vadatajs@63-152-112-35.cdrr.qwest.net] has joined #wesnoth 20160712 06:15:06-!- Vadatajs [~Vadatajs@63-152-112-35.cdrr.qwest.net] has quit [Ping timeout: 246 seconds] 20160712 06:15:53-!- Vadatajs [~Vadatajs@63-152-112-35.cdrr.qwest.net] has joined #wesnoth 20160712 06:50:25-!- woseshaman_ [5f5beb48@gateway/web/freenode/ip.95.91.235.72] has quit [Quit: Page closed] 20160712 07:00:14-!- Kwandulin [~Miranda@p200300760F2D8148EC267C7F0CD43E48.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160712 07:47:27-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20160712 07:55:22-!- RatArmy [~RatArmy@om126204160043.6.openmobile.ne.jp] has joined #wesnoth 20160712 08:10:57-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 260 seconds] 20160712 08:12:08-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth 20160712 09:08:26-!- Kwandulin [~Miranda@p200300760F2D8148744E22ED9E4F1470.dip0.t-ipconnect.de] has joined #wesnoth 20160712 09:22:57-!- Kwandulin [~Miranda@p200300760F2D8148744E22ED9E4F1470.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160712 09:39:44-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has joined #wesnoth 20160712 10:26:33-!- RatArmy [~RatArmy@om126204160043.6.openmobile.ne.jp] has quit [Ping timeout: 240 seconds] 20160712 10:35:06-!- ideuler [~textual@0.213.62.94.rev.vodafone.pt] has joined #wesnoth 20160712 10:42:21-!- Kwandulin [~Miranda@p200300760F2D81480406AE6F568D4C78.dip0.t-ipconnect.de] has joined #wesnoth 20160712 10:48:14-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth 20160712 11:12:10-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Quit: ChipmunkV] 20160712 11:18:28-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20160712 11:27:34-!- ideuler [~textual@0.213.62.94.rev.vodafone.pt] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 20160712 11:44:36-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has quit [Quit: Connection closed for inactivity] 20160712 11:55:32-!- Appleman1234 [~Appleman1@KD036012039220.au-net.ne.jp] has quit [Remote host closed the connection] 20160712 12:03:51-!- Appleman1234 [~Appleman1@KD036012039220.au-net.ne.jp] has joined #wesnoth 20160712 12:10:03-!- ideuler [~textual@0.213.62.94.rev.vodafone.pt] has joined #wesnoth 20160712 12:12:44-!- Kwandulin [~Miranda@p200300760F2D81480406AE6F568D4C78.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160712 12:28:56-!- ideuler [~textual@0.213.62.94.rev.vodafone.pt] has quit [Quit: Chakalaka.] 20160712 12:38:11-!- ideuler [~textual@0.213.62.94.rev.vodafone.pt] has joined #wesnoth 20160712 12:51:11-!- Appleman1234 [~Appleman1@KD036012039220.au-net.ne.jp] has quit [Ping timeout: 240 seconds] 20160712 13:16:05-!- Kwandulin [~Miranda@p200300760F2D8148E96FF661369A1BBE.dip0.t-ipconnect.de] has joined #wesnoth 20160712 13:34:21-!- prkc [~prkc@46.166.190.224] has quit [Ping timeout: 246 seconds] 20160712 13:49:13-!- prkc [~prkc@catv-80-98-46-199.catv.broadband.hu] has joined #wesnoth 20160712 14:07:41-!- Appleman1234 [~Appleman1@KD036012039220.au-net.ne.jp] has joined #wesnoth 20160712 14:31:01-!- Kwandulin [~Miranda@p200300760F2D8148E96FF661369A1BBE.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160712 14:56:58-!- backnforth [~backnfort@nwcsnbsc03w-099192114036.dhcp-dynamic.FibreOp.nb.bellaliant.net] has joined #wesnoth 20160712 14:59:07-!- louis94 [~~louis94@91.178.242.103] has joined #wesnoth 20160712 15:06:29-!- louis94 [~~louis94@91.178.242.103] has quit [Quit: Konversation terminated!] 20160712 15:07:29-!- louis94 [~~louis94@91.178.242.103] has joined #wesnoth 20160712 15:30:09-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20160712 15:30:12-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has joined #wesnoth 20160712 15:30:17-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth 20160712 15:37:30-!- prkc [~prkc@catv-80-98-46-199.catv.broadband.hu] has quit [Ping timeout: 276 seconds] 20160712 15:46:45-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has joined #wesnoth 20160712 15:49:27-!- prkc [~prkc@46.166.190.192] has joined #wesnoth 20160712 16:01:11-!- louis94 [~~louis94@91.178.242.103] has quit [Remote host closed the connection] 20160712 16:42:15-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160712 16:42:40-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has joined #wesnoth 20160712 16:43:08-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth 20160712 16:52:48-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Ping timeout: 244 seconds] 20160712 16:53:42-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth 20160712 17:05:54-!- prkc [~prkc@46.166.190.192] has quit [Ping timeout: 276 seconds] 20160712 17:11:34-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160712 17:11:45-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Ping timeout: 276 seconds] 20160712 17:16:52-!- mystic_x [~X@unaffiliated/mysticx] has joined #wesnoth 20160712 17:19:42-!- prkc [~prkc@catv-80-98-46-199.catv.broadband.hu] has joined #wesnoth 20160712 17:26:47-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has joined #wesnoth 20160712 17:30:58-!- Haldrik [~haldrik@unaffiliated/haldrik] has joined #wesnoth 20160712 17:35:32-!- iatyr [~iatyr@71-87-82-91.dhcp.krny.ne.charter.com] has joined #wesnoth 20160712 17:42:28-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has joined #wesnoth 20160712 18:03:31-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth 20160712 18:06:43-!- mystic_x1 [~X@unaffiliated/mysticx] has joined #wesnoth 20160712 18:09:08-!- mystic_x [~X@unaffiliated/mysticx] has quit [Ping timeout: 272 seconds] 20160712 18:19:05-!- ideuler [~textual@0.213.62.94.rev.vodafone.pt] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 20160712 18:19:24-!- hk238 [~kvirc@t224.ip7.netikka.fi] has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria] 20160712 18:19:27-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160712 18:19:57-!- backnforth [~backnfort@nwcsnbsc03w-099192114036.dhcp-dynamic.FibreOp.nb.bellaliant.net] has quit [Ping timeout: 246 seconds] 20160712 18:29:42-!- claymore2 [~hexchat@host86-166-93-156.range86-166.btcentralplus.com] has joined #wesnoth 20160712 18:33:52-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has joined #wesnoth 20160712 18:43:47-!- Kwandulin [~Miranda@p200300760F2D81486834DE256A70FE62.dip0.t-ipconnect.de] has joined #wesnoth 20160712 18:48:33-!- mystic_x1 [~X@unaffiliated/mysticx] has quit [Remote host closed the connection] 20160712 18:52:12-!- ancestral [~ancestral@75-168-183-92.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160712 19:10:29-!- irco [~irco@HSI-KBW-078-042-015-165.hsi3.kabel-badenwuerttemberg.de] has joined #wesnoth 20160712 19:21:55-!- irco [~irco@HSI-KBW-078-042-015-165.hsi3.kabel-badenwuerttemberg.de] has quit [Remote host closed the connection] 20160712 19:26:06-!- edaq [~edaq3@h184-60-40-94.cytnin.broadband.dynamic.tds.net] has quit [Ping timeout: 246 seconds] 20160712 19:29:20-!- Kwandulin [~Miranda@p200300760F2D81486834DE256A70FE62.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160712 19:43:23-!- claymore2 [~hexchat@host86-166-93-156.range86-166.btcentralplus.com] has quit [Quit: Leaving] 20160712 19:52:46< janebot> Tweet (by @Wesnoth) (RT @AzureLazuline) Copy Kitty is set for launch on Steam! Copy powers and combine up to 3 into a super-weapon! http://store.steampowered.com/app/349250 http… [ https://twitter.com/Wesnoth/status/752953865717166080 ] 20160712 20:02:02< janebot> Tweet (by @Wesnoth) Exciting announcement coming soon... #gamedev [ https://twitter.com/Wesnoth/status/752956201709690880 ] 20160712 20:29:23-!- iatyr [~iatyr@71-87-82-91.dhcp.krny.ne.charter.com] has quit [Quit: Leaving] 20160712 21:10:32-!- Haldrik [~haldrik@unaffiliated/haldrik] has quit [Quit: Haldrik] 20160712 21:27:18-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Quit: ChipmunkV] 20160712 21:27:30-!- woseshaman [5f5beb48@gateway/web/freenode/ip.95.91.235.72] has joined #wesnoth 20160712 21:44:07-!- Appleman1234 [~Appleman1@KD036012039220.au-net.ne.jp] has quit [Ping timeout: 260 seconds] 20160712 21:44:58-!- Waste [~Cracker@blk-222-118-4.eastlink.ca] has joined #wesnoth 20160712 21:48:10-!- wario [~wario_@unaffiliated/wario] has joined #wesnoth 20160712 21:50:09-!- Appleman1234 [~Appleman1@KD036012035190.au-net.ne.jp] has joined #wesnoth 20160712 22:34:37-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has quit [Quit: Connection closed for inactivity] 20160712 22:55:26-!- iatyr [~iatyr@71-87-82-91.dhcp.krny.ne.charter.com] has joined #wesnoth 20160712 22:58:49-!- wario [~wario_@unaffiliated/wario] has quit [Quit: Leaving] 20160712 23:03:15-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 244 seconds] 20160712 23:20:07-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has quit [Ping timeout: 252 seconds] --- Log closed Wed Jul 13 00:00:19 2016