![]() ![]() It will update ten times per second, if you need more or less you can change the interval.Ĭode GPS (updated by Syranide ) X Y Z Pos:vector The Interval is required for the GPS to update its values, as there are no inputs to change for it to recalculate. This is a simple expression to get used to the new functionality, it would be suitable practice for a new user. RPM = abs (Wheel:angVel ( ):yaw ( ) / 360 * 60 ) GPS (by Fishface60) Depending on the prop you use, yaw may not be what you need. ![]() For this example, Wheel:entity is a PHX wheel linked to an Entity Marker. Very simple expression for determining RPM using angVel(). 2.27 E2 Gravity Enabled Hoverdrive (by ILOVEPIE).2.26 Console Screen Selection Screen (by GlitchDetector (|SpB| FB GameMaker)).2.25 Using findRe & replaceRE (by OmicroN).2.23 Target Crusher (by I_am_Einstein, modified by Initrd.gz).2.22 Hologram Clipping Example (by Soul less).2.20 Angular stabilization using applyTorque and quaternions (by Fizyk).2.17 HINT: Creating a 2D array with 1D arrays using strings (by Shoffing).2.15 Bone Example: Zombie (by Shoffing).2.13 Text controlled props (by Shoffing).2.11 Introduction to applyForce() and applyAngForce() (by Mr.2.9 Applying Entity Discovery: Thermometer (by Entoros).2.8 Radar Chip (Ranger and Wirelink) (By Coder0xff).2.5 Gyroscopic Stabilization (by chinoto).2.3 Velocity Stabilisation (by fishface60).2.2 Player targeting via Chat (by Wodden).2.1 Advanced Player Targetting (by Jackorobot).1.24 Checking a material on a prop (by Godd).1.23 Find player by steamID or partial steamID (by Venompapa).1.19 Built in ranger and wire colorer example (?).1.17 Writing/reading global variables (By ZeikJT/Divran).1.11 Basic Player Targetting (by jman31415).1.10 Vector and Entity wirelink testing (by fishface60).This is a wiki, so expect your expressions to be modified by other editors.Try to line up series of comments so they are easier to separate from the code.Use 4 spaces for each indentation (comments are exempt). Follow the code format set in Expression 2: Formatting.Please make sure the variable names you use describe what they are for, for example, use WeldLatch instead of WL for your variable name.The syntax highlighting isn't perfect, but it helps a lot with comments. If you have more than one example that fits a difficulty, insert them one after another, it keeps things organized. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |