Scripts / Player control

Author
Message
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 5th Aug 2015 21:20 Edited at: 5th Aug 2015 22:21
Hi, is it at all possible to force the player, in 1st person view, to rotate to a spawned character..... I know you can rotate the entity but I need to force the player to look at the entity I have spawned.

In the video below its OK if I look forward but if i'm looking down I miss seeing the spawned character...

https://www.dropbox.com/s/z1ep7s9cm1gyefu/test1c.avi?dl=0

Thanks.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 6th Aug 2015 01:40
I have a script that used to work for this, but a few GG versions ago TransportToIfUsed was changed so that the Player/Cam did not rotate to face the same direction as the object being transported to.

So there may be another way but haven't discovered it yet, maybe others have ...
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 6th Aug 2015 08:47
I guess you could put a hidden entity behind where you want the player and spawn to that then the player would face the entity you want him to look at, will try that
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 6th Aug 2015 18:49
you could do it the other way around and move the entity so that it is always in front of the player?
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11

Login to post a reply

Server time is: 2024-12-22 01:06:11
Your offset time is: 2024-12-22 01:06:11