r3333 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 5 02:39:08 EST 2008


Author: div0
Date: 2008-02-05 02:39:07 -0500 (Tue, 05 Feb 2008)
New Revision: 3333

Modified:
   trunk/data/qcsrc/server/t_jumppads.qc
Log:
jumppad.message can output a message when pushed (possibly for making force fields that propel you back, and say "No way")


Modified: trunk/data/qcsrc/server/t_jumppads.qc
===================================================================
--- trunk/data/qcsrc/server/t_jumppads.qc	2008-02-03 14:22:37 UTC (rev 3332)
+++ trunk/data/qcsrc/server/t_jumppads.qc	2008-02-05 07:39:07 UTC (rev 3333)
@@ -150,6 +150,9 @@
 		}
 		else
 			other.jumppadcount = TRUE;
+
+		if(self.message)
+			centerprint(other, self.message);
 	}
 
 	// reset tracking of who pushed you into a hazard (for kill credit)




More information about the nexuiz-commits mailing list