- Joined
- Jun 8, 2007
- Messages
- 97
I apologize in advanced....for the torture that this script is going to endure because of me XD
First Errors are on the texttags, when they are first created, those lines, some error comes up saying it expects code I added () to the end of it (before the last ) )....than it wanted a ' O.O
Next errors are expecting a name....when i put in local strings...im not quite sure about that :S
Next are when it expects valid arguement when i call to destroy the textags >=( now im insulted XDD
The final ones....are ones that expect a variable name when i'm setting my locals to null
Thoughts? (i posted this on thehelper.net also, to get more opinions, this post is better though XD)
JASS:
function Trig_Intro_Actions takes nothing returns nothing
//I've tried to make it so that when i make the texttags that they automatically go up,
//wait a little bit, than create and send another one up...
//i wonder if that's more effecient??
local string a = "This map uses World Editor Unlimited"
local string b = "Fury used |N MAGIX Music Maker deLuxe 10 |N for the drums"
local string c = "The Creators"
local string d = "FuryOfASquirrel..."
local string e = "And..."
local string f = "Irkie500!!"
local string g = "Enjoy the Game!"
call SetTerrainFogExBJ( 0, 0.00, 0.00, 0, 0.00, 0.00, 0.00 )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 0.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call SetSkyModel( null )
call ShowInterfaceForceOff( GetPlayersAll(), 0.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Intro, Player(0), 0 )
call CreateTextTagLocBJ( a, GetRectCenter(gg_rct_Credits_Start), 10.00, 15.00, 100, 100, 100, 25.00 )
local texttag aa = GetLastCreatedTextTag ()
call CreateTextTagLocBJ( b, GetRectCenter(gg_rct_Credits_Start), 10.00, 10, 100, 100, 100, 0 )
local texttag bb = GetLastCreatedTextTag ()
call CreateTextTagLocBJ( c, GetRectCenter(gg_rct_Credits_Start), 10.00, 10, 100, 100, 100, 0 )
local texttag cc = GetLastCreatedTextTag ()
call CreateTextTagLocBJ( d, GetRectCenter(gg_rct_Credits_Start), 10.00, 10, 100, 100, 100, 0 )
local texttag dd = GetLastCreatedTextTag ()
call CreateTextTagLocBJ( e, GetRectCenter(gg_rct_Credits_Start), 10.00, 10, 100, 100, 100, 0 )
local texttag ee = GetLastCreatedTextTag ()
call CreateTextTagLocBJ( f, GetRectCenter(gg_rct_Credits_Start), 10.00, 10, 100, 100, 100, 0 )
local texttag ff = GetLastCreatedTextTag ()
call CreateTextTagLocBJ( g, GetRextCenter(gg_rct_Credits_Start), 10.00, 10, 100, 100, 100, 0 )
local texttag gg = GetLastCreatedTextTag ()
call SetTextTagVelocityBJ( aa, 200.00, 90 )
call TriggerSleepAction( 0.30 )
call SetTextTagVelocityBJ( bb, 200.00, 90 )
call TriggerSleepAction( 0.30 )
call SetTextTagVelocityBJ( cc, 200.00, 90 )
call TriggerSleepAction( 0.30 )
call SetTextTagVelocityBJ( dd, 200.00, 90 )
call TriggerSleepAction( 0.30 )
call SetTextTagVelocityBJ( ee, 200.00, 90 )
call TriggerSleepAction( 0.30 )
call SetTextTagVelocityBJ( ff, 200.00, 90 )
call TriggerSleepAction( .30 )
call SetTextTagVelocityBJ( gg, 200.00, 90 )
call TriggerSleepAction( 1.50 )
call DestroyTextTagBJ(texttag aa)
call DestroyTextTagBJ(texttag bb)
call DestroyTextTagBJ(texttag cc)
call DestroyTextTagBJ(texttag dd)
call DestroyTextTagBJ(texttag ee)
call DestroyTextTagBJ(texttag ff)
call DestroyTextTagBJ(texttag gg)
set texttag aa = null
set texttag bb = null
set texttag cc = null
set texttag dd = null
set texttag ee = null
set texttag ff = null
set texttag gg = null
set string a = null
set string b = null
set string c = null
set string d = null
set string e = null
set string f = null
set string g = null
call ShowInterfaceForceOn( GetPlayersAll(), 0.00 )
endfunction
//===========================================================================
function InitTrig_Intro takes nothing returns nothing
set gg_trg_Intro = CreateTrigger( )
call TriggerAddAction( gg_trg_Intro, function Trig_Intro_Actions )
endfunction
First Errors are on the texttags, when they are first created, those lines, some error comes up saying it expects code I added () to the end of it (before the last ) )....than it wanted a ' O.O
Next errors are expecting a name....when i put in local strings...im not quite sure about that :S
Next are when it expects valid arguement when i call to destroy the textags >=( now im insulted XDD
The final ones....are ones that expect a variable name when i'm setting my locals to null
Thoughts? (i posted this on thehelper.net also, to get more opinions, this post is better though XD)