Talk:Portal 2/Scripting/Script Functions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
I used the script_help command. Seems it only works when you run the game in tools mode. | I used the script_help command. Seems it only works when you run the game in tools mode. | ||
== View angles? == | |||
Is there any possible way to get the player's eye ''angles'' via scripting? It would be insanely useful to me right now. Obviously there's the eye ''position'' in CBaseEntity but as far as I can see there's nothing on which direction the player is looking. The basic angle of the player only gives the yaw as a useful value, as neither pitch nor roll change (I guess because view angles are separate). --[[User:X6herbius|X6herbius]] 02:38, 22 February 2012 (PST) |
Revision as of 03:38, 22 February 2012
Console command?
Turkleton, what's the console command you used to get this list? Just curious ;) --Barracuda 22:40, 20 May 2011 (UTC)
I used the script_help command. Seems it only works when you run the game in tools mode.
View angles?
Is there any possible way to get the player's eye angles via scripting? It would be insanely useful to me right now. Obviously there's the eye position in CBaseEntity but as far as I can see there's nothing on which direction the player is looking. The basic angle of the player only gives the yaw as a useful value, as neither pitch nor roll change (I guess because view angles are separate). --X6herbius 02:38, 22 February 2012 (PST)