Author Topic: Proper VIDEO tutorial for using scripts?  (Read 1698 times)

Renato Lopes

  • Crewmate
  • *
  • Posts: 15
  • Not amateur... not professional...
    • View Profile
    • Steam Profile
Proper VIDEO tutorial for using scripts?
« on: January 27, 2015, 10:35:11 pm »
Hi, I looked at the tutorials for making scripts, searched through the entire internet, but I couldn't understand a thing of how to use them.


The problem is, I can only put 1 line when I put a script box! Common, should I double click it? No one says a thing...


But what I want is a video, but I can't find any on the internet. Any help?

prrg

  • Professor
  • ****
  • Posts: 108
  • ヴヴヴヴヴヴ
    • View Profile
Re: Proper VIDEO tutorial for using scripts?
« Reply #1 on: January 27, 2015, 11:27:03 pm »
Place a Script Box with Y (I think it is Y), or a Terminal with T. The only difference is that terminal will have a appearance and you will need to press enter, and script boxes not (they are mostly trigger_once from Hammer, if you know what I mean, and I know you know what I mean). He will request you to place a line. This line is how you're going to call the script, some people place fast and easy to recognize numbers, like {1, 2, 3} etc. But you can also place codenames, like "going_be_awful" for a script that make a terminal say "This is going to be awful".

After that press ESC to go to the menu screen and go to "edit scripts", choose your script and begin scripting! If I remember well you should be able to place up to 500 lines of scripting. Begin with simple things like say(n), then say(n,c), and then destroy(element), and beyond!

shape worrior t

  • Professor
  • ****
  • Posts: 141
  • Fan of Nintendo, VVVVVV, and other things.
    • View Profile
Re: Proper VIDEO tutorial for using scripts?
« Reply #2 on: January 27, 2015, 11:30:58 pm »
Do what you would do when you want to create another line in a notepad or on the forums: press enter.
Are there any things that you need a video for?

Renato Lopes

  • Crewmate
  • *
  • Posts: 15
  • Not amateur... not professional...
    • View Profile
    • Steam Profile
Re: Proper VIDEO tutorial for using scripts?
« Reply #3 on: January 28, 2015, 12:03:46 am »
Prrg just telled me. What I didn't know was the thing of the line and the "edit scripts" menu option, no one telled me about it. thanks anyway.

Ps: is a script box a trigger_once?

shape worrior t

  • Professor
  • ****
  • Posts: 141
  • Fan of Nintendo, VVVVVV, and other things.
    • View Profile
Re: Proper VIDEO tutorial for using scripts?
« Reply #4 on: January 28, 2015, 12:13:26 am »
 ???

prrg

  • Professor
  • ****
  • Posts: 108
  • ヴヴヴヴヴヴ
    • View Profile
Re: Proper VIDEO tutorial for using scripts?
« Reply #5 on: January 28, 2015, 12:28:25 am »
Prrg just telled me. What I didn't know was the thing of the line and the "edit scripts" menu option, no one telled me about it. thanks anyway.

Ps: is a script box a trigger_once?

trigger_once:
Only triggered once
Can't be seen
Is a transparent block that activates a command.

script box:
Only triggered once
Can't be seen
Is a transparent block that activates a script, that gives a command.

Renato Lopes

  • Crewmate
  • *
  • Posts: 15
  • Not amateur... not professional...
    • View Profile
    • Steam Profile
Re: Proper VIDEO tutorial for using scripts?
« Reply #6 on: January 28, 2015, 12:47:58 am »
yeye I know what a trigger once is just wanted to know about the script thing

thanks :D