|
Post by pizzaguy on Jul 17, 2010 8:42:22 GMT
Refund the mana/hero mana, or simply don't allow it to be spawned. Its infuriating to lose all of that saved up mana/hero mana just because a random monster happens to be in the spot for half a second when I try to spawn, say, a Land Carrier.
I love ZDW but this is something that's always bugged me.
|
|
|
Post by Dancso on Jul 17, 2010 9:29:46 GMT
This has already been discussed in another topic, and what's keeping us from fixing this is engine limitations. Okay well, it MIGHT be possible with some witty thinking, but seems nobody is witty enough.
|
|
|
Post by pizzaguy on Jul 17, 2010 12:57:00 GMT
Sorry, didn't mean to post on an issue that's already been discussed... I wonder if perhaps a kind of script could fix it. One that detects the unit didn't spawn and then gives the mana back.
|
|
|
Post by Dancso on Jul 17, 2010 14:06:19 GMT
Sorry, didn't mean to post on an issue that's already been discussed... I wonder if perhaps a kind of script could fix it. One that detects the unit didn't spawn and then gives the mana back. HE SAID THE TABOO WORD!!! RUN FOR YOUR LIVES!! in-joke about common fear of scriptsNow seriously, I don't know, I recall decorate has a few other methods that can return success or failiure, but of course it's all not tailored to our needs. One thing that comes to my mind would be a Spawn command through ACS that checks if it would spawn correctly, then remove the dummy actor it may have spawned, then immediately spawn the actual actor, now aligned to his master. The spawn feature from acs won't bind it to any player, so that's why it can't be used for that... so yeah. The way the units currently know their master is via A_SpawnItemEx I believe, using the flag property that makes the summoner their master. Though I believe it would require some complex hackish coding to get something like this working, but then again I may be wrong.
|
|