Posted: Sat Mar 17, 2007 5:17 am
@ generally: the killing of the Constrictor gives you exactly 256 kills as a reward. (It's been long, long ago, but I think I remember in C64-Elite killing the Constrictor was the moment I became ELITE.)
Why shouldn't it be possible to include conditions in death_actions? However I'm not so sure that setDesiredRangeTo and scanForShipsWithRole would work, as they are AI-methods, not general methods. Have you tested that?Arexack_Heretic wrote:Is it really impossible to include conditions in death_actions?
The script_actions can (As in the cloakingdevice).
The two entries seem similar in function.
I would try this (but have not the time to test it) :Code: Select all
<key>death_actions</key> <array> <string>setDesiredRange: 50000</string> <string>scanForShipsWithRole: player</string> <dict> <key>conditions</key> <array> <string>shipsFound_number morethan 0</string> </array> <key>do</key> <array> <string>set: mission_conhunt CONSTRICTOR_DESTROYED</string> </array> </dict> </array>