Suggestion: Damage Trigger
Posted: Tue Jan 12, 2010 1:52 pm
I just thought of something: perhaps we could have damage triggers? I'm not sure if it's be like after X damage or after X percent of HP is gone or what. The code would look like:
So that you could have something happen when a part is damaged enough. Since most parts don't have enough HP for this to be all that useful, this would probably be best used with the core. You could have it so that as that core gets more and more damaged, something changes color to show that. You could have a part become invincible when it's half dead, then you need to go do something else to make it vulnerable again. As with most things in ZF, the possibilities would be endless. So, do you think it's a good idea? And to MD, would it be possible?
Also, I thought I'd mention two tiny things that don't need topics here:
-A nice shortcut would be that when you double-click that little color box in the editor it make the selected part that color for those times when you need to color a lot of parts so you don't have to click the box, avoid the colors, and click OK. It's pretty trivial, but meh.
-The "Code" in a code box should probably be a different color. ULTRATRIVIAL!
Code: Select all
makeTrigger, damage, PART#, DAMAGE_NEEDED, ANY_COMMAND
Also, I thought I'd mention two tiny things that don't need topics here:
-A nice shortcut would be that when you double-click that little color box in the editor it make the selected part that color for those times when you need to color a lot of parts so you don't have to click the box, avoid the colors, and click OK. It's pretty trivial, but meh.
-The "Code" in a code box should probably be a different color. ULTRATRIVIAL!