Home General
Welcome to the new Diaspora forums, please let us know if you see anything broken! Notice: Some users may need to reupload their avatars due to an issue during forum setup!

Detecting damage to ship core

NormallyClosedSwitchNormallyClosedSwitch Registered Posts: 137
edited July 2011 in General #1
I was wondering if there was a way to detect damage done by other on the ship core. In a nutshell, a damage detector but for ship core. It would be usefull to have an entity AND an e2 equivalent.

A way to detect the entity who is damaging the core.
"...wait, this IS rocket science!!!"

Comments

  • Mouldy_TacoMouldy_Taco Registered, Moderator Posts: 133
    E2 equivalent:
    @inputs CoreHealth
    @outputs Damage TakingDamage
    @persist CoreHealth
    interval(250)
    if($CoreHealth<0)
    {
         Damage=$CoreHealth
         TakingDamage=1
         timer("warningduration",1500)
    }
    if(clk("warningduration"))
    {
         TakingDamage=0
    }
    
    "If this works, it'll keep us from getting' caught. If it doesn't, it'll keep us from gettin' old," -- MacGyver
  • Lambda217Lambda217 Registered, Moderator Posts: 534
    But that would not tell us WHO is currently assaulting our core with legions of Mjolnirs D:


    "I want you to show this world what it means to fear the sky."
  • KatelynKatelyn Registered, Administrator Posts: 171
    Doesn't the Damage detector entity tell you who is shooting you?
  • Lambda217Lambda217 Registered, Moderator Posts: 534
    Katelyn wrote:
    Doesn't the Damage detector entity tell you who is shooting you?
    There do seem to be a couple of weapons, like beams, that only reduce core health and don't seem to do normal damage.


    "I want you to show this world what it means to fear the sky."
  • NormallyClosedSwitchNormallyClosedSwitch Registered Posts: 137
    Nah that's right, not every weapon makes normal damage, we tried some and none were detected by the damage detector.
    "...wait, this IS rocket science!!!"

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file