If you want to do it with scripting anyway: This is the stuff you should use:
second Lua hook
a for loop that loops over all living players ( player(0,"tableliving")) in that hook player to get the tilex / tiley and health of the players parse with sethealth if the tilex and tiley values are the ones that you are looking
If you want to do it with scripting anyway: This is the stuff you should use:
second Lua hook
a for loop that loops over all living players ( player(0,"tableliving")) in that hook player to get the tilex / tiley and health of the players parse with sethealth if the tilex and tiley values are the ones that you are looking
is that for all tiles that the ID of it 1? or only for the tilex and tiley, cause i need the whole tiles with that id to have the effect,
if you havn't got me, Go to the editor move your mouse on a tile from the tile selection it will get something like "tile 1#, floor - dirt",
see the number 1#? i ment that.. if you understod me, gimme an example so i dont do any errors,
thanks in advance.
omg has written
ust put hurt entities over the tiles; no need for scripting
I know almost every thing about mapping. i just wanted it on a script for a reason.