Blockland Forums > Modification Help

Changing player datablock's max health with events?

Pages: (1/2) > >>

Demian:

Can it be done? Would it require client sided add-ons?

Headcrab Zombie:

Changing a datablock's health with events?
Easily possible, but it would affect every player using that datablock.

Demian:


--- Quote from: Headcrab Zombie on July 27, 2011, 02:31:25 PM ---Changing a datablock's health with events?
Easily possible, but it would affect every player using that datablock.

--- End quote ---
Maximum health and I'm looking for something that changes it individually for one person. Not for everyone using the datablock.

infiniteLoop:

You can't change a single player's datablock without it affecting every other person using that same datablock... As crab has said..

Headcrab Zombie:

What about a damageReduction player variable, and then package onDamage to deal less damage based on the variable?

I saw this done in such a way that it worked exactly the same as changing a players max health. I forgot who posted it, or where they posted it

Pages: (1/2) > >>

Go to full version