I'm not sure what I'm missing here but I'm getting an error..
I have group called Tank_Group_1 with just one unit in it, unit name: Tank_1. When that tank is killed, I want it to respawn so I'm doing:
Type: CONTINUOUS ACTION (Trigger12345, NO EVENT)
Condition: UNIT DEAD (Tank_1)
Actions: DO SCRIPT (mist.respawnGroup('Tank_Group_1')
Error message:
[string "mist.respawnGroup('Tank_Group_1')"]:1: attempt to index global 'mist' (a nil value)