April 27, 2024, 10:07:54

Author Topic: [Fixed] HpCur command not working?  (Read 5038 times)

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
[Fixed] HpCur command not working?
« on: March 03, 2010, 21:20:40 »
Hey, had someone messed with this command before? In my attempts, the "read" part of it worked just fine, but I can't say the same for the "write" one... I'm making a sort of "regenaration" machine, linked to a device, and I was messing with that command....


EDIT: no, I was mistaken... the read part doesn't work either.
« Last Edit: April 05, 2011, 04:27:13 by Mularac »

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: HpCur command not working?
« Reply #1 on: April 05, 2011, 04:26:57 »
Fixed it. The Nexus modding documentation was wrong, the attribute HPCur doesn't exist, however the attribute HP does. It gives you the actual HP of the given ship and it allows you to change it, too.

Offline Arparso

  • Administrator
  • Lieutenant
  • *****
  • Posts: 558
  • Karma: 14
  • I can see you...
    • View Profile
    • http://arparso.de/nexus
Re: [Fixed] HpCur command not working?
« Reply #2 on: April 26, 2011, 11:21:26 »
Huh? I somehow missed this topic entirely. :(

Great news, though. I remember having to figure out the current HP of a ship instead of the damage percentage and getting frustrated at there not being an easy way to do that because of HPcur not working.