.. to different locations, can it be done? Just tested setting:
SetSpawnCameraPos
SetSpawnCameraLook
both switching with different skin IDs and the camera just instantly teleports instead of travelling.
thanks in advanced for any input.
I mean, that would require lots of function calls to achieve the smoothness, thus it wouldn't be ideal.
Unfortunately, there is no such function like "MoveCamera"...
I think its do-able guys, with a script like this, described...
1. Force player to spawn
2. Freeze player
3. Set players skindID to first skin wanted (for first spawnloc)
4. Read players skinID and sets SetCameraPos( [Vector] position, [Vector] look ); accordingly < New spawnlocs based on SkinID
(note player needs to be teleported close by spawnscreen location for game to load textures/world correctly.
5. Set player skidID from onkeypress left & right arrows, just like original spawnscreen. and set Return key or shoot/rmb to spawn.
This technique seems to work in another VC program. But I'm unskilled at scripting.
I assume your already figured it out, in this post (https://forum.vc-mp.org/?topic=7136.0)
Quote from: Sebastian on Oct 10, 2019, 10:08 AMI assume your already figured it out, in this post (https://forum.vc-mp.org/?topic=7136.0)
Not yet. Bu it todo, wil share if succes :D