of     1   

McRocketNuggets
#225803626Sunday, October 01, 2017 1:45 AM GMT

I've always been a bit confused on how CloneTrooper1019's cutscene editor functioned. How does he insert code inside a script through another script? For example, when you finish your custscene, it prompts you a choice about how what type of script you want. Once you've chosen one, you are given the script of your choice with code inside of it. There are dependent variables in that script which the plugin had fill in(The position of the camera). My question is, how did he create a script to insert those variables? Or is there a better way that you may know of.
DevVince
#225803822Sunday, October 01, 2017 1:49 AM GMT

Pre-coded and just selects a,b,c.
McRocketNuggets
#225804047Sunday, October 01, 2017 1:54 AM GMT

I do know that he did not code every single possible position that the player could've chosen for the camera. He had to have gathered that information and somehow import it into the script.
IntelligentBeing
#225804138Sunday, October 01, 2017 1:57 AM GMT

^lmaooooo if you don't know how variables work...please read up on it! the most likely scenario is he precoded functions that would do all the work, and then executed them accordingly. for example if you wanted to get the currentposition of the camera you'd do print(game.Workspace.CurrentCamera.CFrame) he didnt code every single possible position. that would be like coding every single possible atom in existence...impossible unless you had a quantum computer.
chimmihc
#225804809Sunday, October 01, 2017 2:11 AM GMT

script.Source
McRocketNuggets
#225805359Sunday, October 01, 2017 2:24 AM GMT

I just blew up my studio
kylerzong
#225805689Sunday, October 01, 2017 2:32 AM GMT


    of     1