]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpdefs/csprogsdefs.qc
Clarify behaviour of random() builtin
[xonotic/darkplaces.git] / dpdefs / csprogsdefs.qc
index 95f9beac5ff515c5c21f0123c461dbabbf3ed603..9b00de12adc9314559ae93c99e9f6152e140f0b2 100644 (file)
@@ -336,7 +336,7 @@ void(entity e, string m) setmodel = #3;
 void(entity e, vector min, vector max) setsize = #4;
 
 void() break_to_debugger = #6;
-float() random = #7;
+float() random = #7; // Returns a random number > 0 and < 1
 void(entity e, float chan, string samp, float volume, float atten, ...) sound = #8;
 vector(vector v) normalize = #9;
 void(string e) error = #10;