Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Total Members Voted: 3
Voting closed: June 18, 2017, 01:28:57 am
Im getting this error when trying to compile ??? ERR(0) scripts/zm/zm_five.gsc (58,6) : syntax error, unexpected TOKEN USING, expecting TOKEN SEMICOLON : #using
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
(Note: Again, I originally posted this on modme, but I decided to post it here in case any ugx-only users needed it )
(Content removed from quote.)
Hello again! (I know it's been a while...)
I recreated my elevator script, which adds one main feature: You can now call the elevator. This should fix prior problems with having to make it start at the top, plus some people here and lots on Modme were asking for the call feature.
In case you never saw the first post, here are the features:
-Sliding Doors
-Elevator
-Call Feature
-Editable numbers (You can adjust the elevator to your liking)
All of the things you will need are in the download (I've made it so you no longer need a separate download if your doors open sideways)
IMPORTANT: Please DO NOT re-upload this script. If you are going to use this in your map or video, please credit me. (Ex: "ZombieKid164 - Youtube: http://www.youtube.com/channel/UCAm_2-Z_RGUmkLJcN1OfJrQ ")
Also, if you want to turn off the debug text, set zk_debug to false in the script (Forgot to add that to instructions).
I hope you enjoy this script!
Thanks, and happy modding! -ZombieKid164
Also I believe in radiant there is an option on script_model and script_brushmodels to enable them as a moving platform. It's in the kvp's, I have only tested the function via script though so you'd have to test that.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
I have tested this out by ticking the setting in radiant, and I have found that it works without having to need any code.
Can one of you explain how you did it? I'm not sure where to put the script or which ksp to add or change.
Change what? Because there are only 3 statements that involve power?
function wait_for_power()
level flag::wait_till( "power_on" );
wait_for_power();
I already tried adding a 1 in each statement after the word "power" but the problem seems to consist, and for some reason after I change it on level flag it doesn't even bother showing up the debug text from that elevator.