How to merge several scripts
2 posts
• Page 1 of 1
How to merge several scripts
It's easy to merge several scripts, just respect this order:
You can have ONLY ONE "main" and ONE "init" section, all defines goes at the same place at the top of the script and all combos goes at the same place at the end of the script and be careful to correctly close all the brackets of the code!
If you see anything to add please comment and if you need help or have any question, feel free to ask.
- Code: Select all
define
int
init{
}
main {
}
combo_1 {
}
combo_2 {
}
function X {
}
You can have ONLY ONE "main" and ONE "init" section, all defines goes at the same place at the top of the script and all combos goes at the same place at the end of the script and be careful to correctly close all the brackets of the code!
If you see anything to add please comment and if you need help or have any question, feel free to ask.
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic!
Scripting, a game in the game.
Believe or dare, It's Titanic!
-
Prototype - Major General
- Posts: 3252
- Joined: Sun Dec 16, 2012 1:43 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests