I need a way to write information in-game to your hard drive. It's exactly how File I/O works, but I need more readable results that aren't plagued with "call Preload(". If there are methods available from older patches, I'm willing to use those as well.
Instead of this (current result):
I need something like this (this is an ideal result, it just needs to be more readable than the above result without manual work or help from 3rd party programs):
Instead of this (current result):
JASS:
/*-----Please start your copy + paste on this line-----." )
call Preload( ""
*/
library MBYourTitleHere initializer onInit
/*" )
call Preload( ""
*/
//==============================================================================
/*" )
call Preload( ""
*/
globals
/*" )
call Preload( ""
*/
public multiboard Board
/*" )
call Preload( ""
*/
public integer Rows = 1
/*" )
call Preload( ""
*/
public integer Columns = 1
/*" )
call Preload( ""
*/
public string Title = "Your Title Here"
/*" )
call Preload( ""
*/
public integer TitleColor = 16777215
/*" )
call Preload( ""
*/
public boolean array ShowIcon
/*" )
call Preload( ""
*/
public boolean array ShowText
/*" )
call Preload( ""
*/
public string array ItemText
/*" )
call Preload( ""
*/
public string array ItemIcon
/*" )
call Preload( ""
*/
public integer array ItemTextRed
/*" )
call Preload( ""
*/
public integer array ItemTextGreen
/*" )
call Preload( ""
*/
public integer array ItemTextBlue
/*" )
call Preload( ""
*/
endglobals
/*" )
call Preload( ""
*/
/*" )
call Preload( ""
*/
private function Show_Board takes nothing returns boolean
/*" )
call Preload( ""
*/
return false
/*" )
call Preload( ""
*/
endfunction
/*" )
call Preload( ""
*/
//! textmacro MB_YourTitleHere_initializer
/*" )
call Preload( ""
*/
local trigger t = CreateTrigger()
/*" )
call Preload( ""
*/
call TriggerAddCondition(t,Condition(function Show_Board))
/*" )
call Preload( ""
*/
call TriggerRegisterPlayerChatEvent(t,Player(0),"-show MBYourTitleHere",true)
/*" )
call Preload( ""
*/
//! endtextmacro
/*" )
call Preload( ""
*/
/*" )
call Preload( ""
*/
//==============================================================================
/*" )
call Preload( ""
*/
private function onInit takes nothing returns nothing
/*" )
call Preload( ""
*/
//! runtextmacro MB_YourTitleHere_initializer()
/*" )
call Preload( ""
*/
endfunction
/*" )
call Preload( ""
*/
endlibrary
/*" )
call Preload( ""
- - - - - Please end your copy + paste on this line - - - - - .*/
I need something like this (this is an ideal result, it just needs to be more readable than the above result without manual work or help from 3rd party programs):
JASS:
/*-----Please start your copy + paste on this line-----.*/
library MBYourTitleHere initializer onInit
//==============================================================================
globals
public multiboard Board
public integer Rows = 1
public integer Columns = 1
public string Title = "Your Title Here"
public integer TitleColor = 16777215
public boolean array ShowIcon
public boolean array ShowText
public string array ItemText
public string array ItemIcon
public integer array ItemTextRed
public integer array ItemTextGreen
public integer array ItemTextBlue
endglobals
private function Show_Board takes nothing returns boolean
return false
endfunction
//! textmacro MB_YourTitleHere_initializer
local trigger t = CreateTrigger()
call TriggerAddCondition(t,Condition(function Show_Board))
call TriggerRegisterPlayerChatEvent(t,Player(0),"-show MBYourTitleHere",true)
//! endtextmacro
//==============================================================================
private function onInit takes nothing returns nothing
//! runtextmacro MB_YourTitleHere_initializer()
endfunction
endlibrary
/*-----Please end your copy + paste on this line-----.*/