1
0
Fork 0
forked from fte/fteqw

Skill triggers on start map.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1816 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-01-07 19:04:26 +00:00
parent 2213d5050c
commit d6056ff880

View file

@ -488,13 +488,22 @@ trigger_setskill
==============================================================================
*/
void() trigger_skill_touch =
{
if (other.classname != "player")
return;
cvar_set ("skill", self.message);
};
/*QUAKED trigger_setskill (.5 .5 .5) ?
sets skill level to the value of "message".
Only used on start map.
*/
void() trigger_setskill =
{
remove (self);
InitTrigger ();
self.touch = trigger_skill_touch;
};