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.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3252
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: 20322
Joined: Tue Mar 18, 2014 1:39 pm


Return to Tutorials and FAQs

Who is online

Users browsing this forum: No registered users and 9 guests