User Tools

Site Tools


script:module:world

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
script:module:world [2020-12-06 21:27]
skyjake
script:module:world [2021-08-01 07:55] (current)
skyjake
Line 40: Line 40:
  
   self.addMom([0,​ 0, 10])   self.addMom([0,​ 0, 10])
 +
 +#​@Identifier_HTML~angle~@#​ ( )
 +
 +(Availability:​ added in [[version:​2.3.2]])
 +
 +Returns the angle of the thing: 0 = East, 90 = North, 180 = West, 270 = South.
  
 #​@Identifier_HTML~attack~@#​ ( #​@Identifier_HTML~attack~@#​ (
Line 114: Line 120:
  
 Pushes the thing backwards by //force// units. For example, the Heretic Phoenix Rod uses a recoil of 4 units. The current direction of the thing determines which direction the recoil is applied. ​ Pushes the thing backwards by //force// units. For example, the Heretic Phoenix Rod uses a recoil of 4 units. The current direction of the thing determines which direction the recoil is applied. ​
 +
 +
 +#​@Identifier_HTML~setAngle~@#​ ( #​@Arg_HTML~Number,​degrees~@#​ )
 +
 +(Availability:​ added in [[version:​2.3.2]])
 +
 +Changes the angle of the thing to //​degrees//​. 0 = East, 90 = North, 180 = West, 270 = South.
 +
  
 #​@Identifier_HTML~setNoBlocking~@#​ ( ) #​@Identifier_HTML~setNoBlocking~@#​ ( )
script/module/world.txt ยท Last modified: 2021-08-01 07:55 by skyjake