[ian-reeds-games] Re: script updates: version 24 Mar 2015

  • From: "Allan Thompson" <allan1.thompson@xxxxxxx>
  • To: <ian-reeds-games@xxxxxxxxxxxxx>
  • Date: Tue, 24 Mar 2015 16:53:29 -0400

That's pretty cool!

Thanks for the hard work.

al

 

From: ian-reeds-games-bounce@xxxxxxxxxxxxx
[mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Victorious
Sent: Tuesday, March 24, 2015 11:49 AM
To: ian-reeds-games@xxxxxxxxxxxxx
Subject: [ian-reeds-games] script updates: version 24 Mar 2015

 

Hi All

 

Although the changelog for this update
<https://dl.dropboxusercontent.com/u/2138237/tb/victorious%27s%20tb%20script
s.html>  may be deceptively short, it took me a while to implement these new
features and figuring out how to handle user input in particular. I hope
everyone enjoys the new flags.

 

24 Mar 2015: 

. Fixed a critical bug in replace_effects that caused it to fail for unit
targets.

. Added map_preload_effects, which applies effects to the specified
coordinates to the map on map load.

. When specifying lists of effects to be applied for all flags dealing with
effect application (including replace_effects), an optional duration
modifier can now be specified in addition to the effect name which changes
the applied effect. For instance, map_preload_effects 2, 10 = lava[1000]
causes tile 2, 10 to be affected by lava for 1000 rounds, regardless of its
actual effect duration. This required significant changes throughout the
script, so watch out for bugs.

. The script now provides a more useful error when it cannot determine if an
effect/item/skill applies to a unit or tile

 

Enjoy!

 

Victorious

Other related posts: