Difference between revisions of "Talk:RoM Functions"
From SolarStrike wiki
(Created page with '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 th…') |
(→player:updatebuffs() no longer a valid function?: new section) |
||
Line 4: | Line 4: | ||
distance(x1, z1, x2, z2) | 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. | 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. |
Latest revision as of 22:36, 20 January 2014
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.