How to merge several scripts

Tutorials, How-tos and FAQs for the Titan One device.

How to merge several scripts

Postby prototype » Mon Sep 18, 2017 4:19 am

It's easy to merge several scripts, just respect this order:
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.
Believe or dare, It's Titanic! :smile0517:
User avatar
prototype
Brigadier General
Brigadier General
 
Posts: 2977
Joined: Sun Dec 16, 2012 1:43 pm

Re: How to merge several scripts

Postby J2Kbr » Wed Sep 20, 2017 11:57 am

Perfectly explained!! :smile0517:
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 18148
Joined: Tue Mar 18, 2014 1:39 pm


Return to Tutorials and FAQs

Who is online

Users browsing this forum: No registered users and 6 guests