Talk:RoM Functions

From SolarStrike wiki
Jump to: navigation, search

i am just wonder where i put and how i use the following --->

distance(x1, z1, y1, x2, z2, y2)

distance(x1, z1, x2, z2)

Returns the distance between 2 points. Both forms of the command will work. If all 6 arguments are used then it will do a 3 dimensional calculation ie. will take into account the height of the points otherwise it will do a 2 dimensional calculation.

player:updatebuffs() no longer a valid function?

player:updatebuffs() which is mentioned with player:hasBuff(_buffname) and player:hasDebuff(_debuffname) seems to be no longer a valid function. Maybe someone who really knows can correct that.