Blockland Forums > General Discussion
Ultimate Boss Battles
<< < (5/5)
Red Quark:

--- Quote from: Advanced Bot on April 09, 2013, 11:11:26 PM ---It might not be real since this person did not plan out the topic.

EDIT: I would also like to help on this server, I am an eventer and a scripter, I can't build because I am terrible at that; but I am very good at inventing and I am decent at scripting, I have made a setMaxHealth event, but I will never release this since there is only one bug that I can't fix yet. Which is when the person leaves, the maxDamage is stuck at the amount it was set at.

--- End quote ---
That isn't a bug. That's player persistence saving it, like how it saves your tools and velocity and position.
Advanced Bot:

--- Quote from: Red Quark on April 10, 2013, 12:35:55 PM ---That isn't a bug. That's player persistence saving it, like how it saves your tools and velocity and position.

--- End quote ---
You don't understand how my script works. It overwrites the datablock's max damage. When they spawn, it saves the actual damage. The events overwrite the max damage. When they die, it makes that data block return back to its original health it was. When they leave, it will not reoverwrite the datablock. So its stuck at a max damage it was set on the event. This will be fixed when I get home though.
Navigation
Message Index
Previous page

Go to full version