crazyfluke Posted November 23, 2017 Share Posted November 23, 2017 Hi Guys, Fairly new to the CK (but I have moderate knowledge on activators etc) and am looking to make a Button that will rescale the player and TP to a specific nearby location (in same internal cell) - and another button to rescale the player to normal and TP them back. More specifically im making a minature area for a player house.. it would be awesome if the player can shrink down whenever they wish and walk around inside the minature area (I know there will be drawbacks to this but it will still be fun) then return back to normal scale when they leave via a smaller button inside the minature area. Im guessing I will (somehow) be able to make an activator script that will run the Setscale console command? Is that even possible? If not ill just make the minature town for decoration but man, it would be so cool to be able to shrink down and walk around inside it! Thanks in advance modder experts :) Link to comment Share on other sites More sharing options...
IsharaMeradin Posted November 24, 2017 Share Posted November 24, 2017 You cannot run console commands with an activator. However, if papryus has equivalent commands you can run those. SetScaleMoveTo For you to use SetScale properly, you will need obtain the player's current size with GetScale, store that value for later use and finally change their scale. When they leave, use the value obtained earlier with GetScale to reset their normal size with SetScale. For MoveTo to work properly, you need to place two xMarkers in your cell. One will be for where you want the player to appear. The second will be moved to the player's current position prior to moving them to your location. Thus when leaving the player can be returned to where they were at. Link to comment Share on other sites More sharing options...
crazyfluke Posted November 24, 2017 Author Share Posted November 24, 2017 (edited) Wow that is the kind of expertise I needed, wasn't even sure if it was possible - certainly didnt think I would be able to keep and then reapply the original player scale but can't wait to try this out later - will let you know if I manage it, Thank you! Edited November 24, 2017 by crazyfluke Link to comment Share on other sites More sharing options...
nerdofprey Posted November 25, 2017 Share Posted November 25, 2017 For MoveTo to work properly, you need to place two xMarkers in your cell. One will be for where you want the player to appear. The second will be moved to the player's current position prior to moving them to your location. Thus when leaving the player can be returned to where they were at. I think if the initial move is only triggered by one specific button activator (as opposed to a spell or something) it shouldn't be necessary to move that second xmarker to the player; it can just sit in front of the button. Link to comment Share on other sites More sharing options...
greyday01 Posted November 28, 2017 Share Posted November 28, 2017 If you are going to teleport the player it would seem easier to make two identical areas in that internal cell or even a completely duplicated cell and resize everything in that area or cell instead of changing the player. Things that could ordinarily be picked up like food would need to be replaced with large static versions and furniture also, possibly containers too. Link to comment Share on other sites More sharing options...
crazyfluke Posted December 6, 2017 Author Share Posted December 6, 2017 Thanks for the replies everyone, still toying with this (as im bad at scripting) but im getting somewhere now - I tihnk I will be going with the button and activator to shrink the player (as the player is "shrunk" down into the tiny town itself)- it would just look normal otherwise in my mod although thanks greyday that is a great suggestion that I didnt think of, I will use in another mod idea) Link to comment Share on other sites More sharing options...
Recommended Posts