[ian-reeds-games] To Craig about the transform script

  • From: Zak Claassen <zak.claassen@xxxxxxxxx>
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Sat, 13 Apr 2013 07:48:57 +0200

Hi, I've got a problem when using the transform script on a unit's
after_death event.  Since current point values are carried over, the
new unit starts with 0 health and dies instantly.  Could you make this
optional by adding an argument that would allow us to specify whether
we want this to happen?  Another thing, I get an error when using {0}
in that after_death transformation.  The error is:
Context: change_unit_type
Line: 45
Column: 10, 11
TypeError: Cannot read property 'Team' of undefined

Other related posts: