| Blockland Forums > Modification Help |
| How to change health and size in a player type. |
| (1/2) > >> |
| Legodude77:
I know this is a small question, but how do I change the max health and size in a player type? |
| Greek2me:
I'm not sure if you can set it in the datablock, but if you can it'd be something datablock.scale = "5 5 5"; For individual players you can use client.player.setScale("5 5 5"); Just set their scale when they spawn. |
| Legodude77:
So how do I change the health? I'm making a Saxton Hale playertype and I want it to have LOTS of health and a little bigger than normal. |
| computermix:
--- Quote from: Legodude77 on April 05, 2011, 09:03:51 PM ---So how do I change the health? I'm making a Saxton Hale playertype and I want it to have LOTS of health and a little bigger than normal. --- End quote --- If your making it, you'd better stick to scripting one, instead of modifying the default one. But anyways, I think this is how you do it... %client.player.setHealth("Blah"); If you want an example, download an example AI and look at server.cs or AI_<Player>.cs |
| Legodude77:
So I would need to make an AI for what I want to do? So is maxdamage max health? Is there anyway to make the player bigger without console? |
| Navigation |
| Message Index |
| Next page |