Hi guys!
A few years ago, I took a programming course where I studied Python briefly. Correct me if I'm wrong: Are scripts equivalent to functions? Where do I want to use that command over and over, and simplify on a one-line call?
If so, I believe I am on the right path. Because my point is: I intend not only to receive a ready script, but to learn how script creation works, as I intend to make some in my game.
For example, in my game, you will have 3 fixed Pokémon. From the professor, you can use one more, among several options, and constantly switch between them. That is, fixed: Pokés A, B, C; and professor a, b, c, d, e, f, ...
Options: (ABCa), (ABCy); (ABCh) ...
If the fourth Pokémon is a Pikachu, while it has this Pokémon, it will have a switch or variable identifying it.
When changing, it would have the script that identifies which extra pokémon he has, removes only him from the party, places the new desired pokémon, and activates the switch / variable of this new pokémon.
If I do it for events, I would have to copy and paste many lines, many times, and the idea would be to simplify this in a script command.
What language is used in Essentials? Would there be a video tutorial to professor this? How can I proceed with creating more scripts?
A few years ago, I took a programming course where I studied Python briefly. Correct me if I'm wrong: Are scripts equivalent to functions? Where do I want to use that command over and over, and simplify on a one-line call?
If so, I believe I am on the right path. Because my point is: I intend not only to receive a ready script, but to learn how script creation works, as I intend to make some in my game.
For example, in my game, you will have 3 fixed Pokémon. From the professor, you can use one more, among several options, and constantly switch between them. That is, fixed: Pokés A, B, C; and professor a, b, c, d, e, f, ...
Options: (ABCa), (ABCy); (ABCh) ...
If the fourth Pokémon is a Pikachu, while it has this Pokémon, it will have a switch or variable identifying it.
When changing, it would have the script that identifies which extra pokémon he has, removes only him from the party, places the new desired pokémon, and activates the switch / variable of this new pokémon.
If I do it for events, I would have to copy and paste many lines, many times, and the idea would be to simplify this in a script command.
What language is used in Essentials? Would there be a video tutorial to professor this? How can I proceed with creating more scripts?