Rounding it out and cleaning it up
This morning I lost the work I did on a script. Don't ask. I'm trying again, but this time I'm going to type it right here and ask for help to round it out and clean it up. Here we go.
I'm copying and pasting so I can directly reference advice instead of jumping back and forth between tabs.
;wherever you put your properties
actor property playerref auto
objectreference property ccas_startmarker auto
;in the script function
playerref.moveto(ccas_startmarker)
And this part is where I'm developing the script.
TCC Teleport Script
This script teleports the player to the Crystal Corridor
actor property playerref auto
objectreference property tcc_center auto
Somewhere I'm supposed to declare the start of the function?
playerrfer.moveto(tcc_center)
Then declare the end of the function?
Well, here's to humble beginnings. This is my first real attempt at writing a working script. I think I have the basic understanding, but now I need to ask for help to round it out and clean it up.
Any help is appreciated, including explaining the where and why of using double line spacing and indentation.
Remember, If I get this working, I can move on with development of at least one mod, but, even then, I'm planning on making it a real piece of work, so it will take time.
Thanks, folks.
0 Comments
Recommended Comments
There are no comments to display.