Scripts / entity X,Y,Z angles in case you missed it

Author
Message
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 16th Dec 2015 18:53 Edited at: 16th Dec 2015 18:54
felt this deserved a mention as it somehow got slipped into the latest update and wasn't on the update list.
you can now return and use the X,Y or Z angles of entities (sure it was possible before but you had to work it out yourself, which afaik involved needing to move the entity or setting it yourself).
anyway the command is
Quote: "g_Entity[e]['anglex']"
,
Quote: "g_Entity[e]['angley']"
or
Quote: "g_Entity[e]['anglez']"


title should read "angles" not "anglea", can a mod please change it?
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 16th Dec 2015 20:14
Title changed at OP's request.

Done.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

perelect
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 17th Dec 2015 09:24
Quote: "felt this deserved a mention as it somehow got slipped into the latest update and wasn't on the update list."


Yes, These 3 commands were needed and will now allow for some great entity control..

Desktop: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz, Windows 8.1 64-bit, 16 GB Ram, NVIDIA GeForce GTX 750 Ti, Display Memory: 4018 MB. Resolution 1360x768, Passmark 3528.
Laptop: Pavilion dv6 Notebook, Intel(R) Core(TM) i5-2410M CPU @ 2.30 GHz, Win 7 64 bit, 16 GB Ram, Radeon (TM) HD 6490M, 2336 MB Memory. Resolution 1366x768, Intel(R) HD Graphics 3000. (WEI 5.8)
Corno_1
GameGuru Tool Maker
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 18th Dec 2015 16:06
Thanks smallg for pointing this out
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 20th Dec 2015 12:36
Thank you! Missed this and it was a somewhat torturous process to calc before. Cheers.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 20th Dec 2015 18:13
Nice point smallg, I've missed too, thanks for point out.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-12-22 10:54:41
Your offset time is: 2024-12-22 10:54:41