mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-04-12 04:30:56 +00:00
Add spectator id command. yay!
This commit is contained in:
parent
9977533035
commit
6b6b91967e
1 changed files with 7 additions and 1 deletions
|
@ -24,6 +24,7 @@ void() SpectatorConnect =
|
|||
|
||||
stuffcmd(self, "bind 9 \"impulse 9\"\n");
|
||||
stuffcmd(self, "bind 0 \"impulse 10\"\n");
|
||||
TeamFortress_Alias("id", #TF_ID, 0);
|
||||
|
||||
self.goalentity = world; // used for impulse 1 below
|
||||
};
|
||||
|
@ -64,6 +65,11 @@ void() SpectatorImpulseCommand =
|
|||
self.fixangle = #TRUE; // turn this way immediately
|
||||
}
|
||||
}
|
||||
else if (self.impulse == #TF_ID)
|
||||
{
|
||||
makevectors(self.v_angle);
|
||||
TeamFortress_ID(#FALSE);
|
||||
}
|
||||
|
||||
self.impulse = 0; //cl_chasecam chasecam
|
||||
};
|
||||
|
@ -82,4 +88,4 @@ void() SpectatorThink =
|
|||
|
||||
if (self.impulse)
|
||||
SpectatorImpulseCommand();
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue