What is the difference of the trigger of a trigger in text and another trigger in events, conditions, actions.
Can i convert the trigger in text to event, conditions, actions nicely placed there?
Text vs Events,conditions & actions
Moderator: Cheaters
-
- Junior Member
- Posts: 30
- Joined: March 26th, 2008, 2:54 pm
Re: Text vs Events,conditions & actions
the trigger in text is called JASSFlexi wrote:What is the difference of the trigger of a trigger in text and another trigger in events, conditions, actions.
Can i convert the trigger in text to event, conditions, actions nicely placed there?
the trigger with events, conditions, actions is GUI where have symbols for all functions.
You can only convert triggers in "text", not "text" in triggers, cause with JASS you can do more, better things which can't be displayed with GUI.
Once here was something.
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Text vs Events,conditions & actions
Examples:
[blinking]

[blinking]
Reveal Map
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
This Text version is basically just a Copy and Paste to a forum board type of thing.
[blinking]
function Trig_Reveal_Map_Actions takes nothing returns nothing
call FogEnableOff( )
call FogMaskEnableOff( )
endfunction
//===========================================================================
function InitTrig_Reveal_Map takes nothing returns nothing
set gg_trg_Reveal_Map = CreateTrigger( )
call TriggerAddAction( gg_trg_Reveal_Map, function Trig_Reveal_Map_Actions )
endfunction
These are all the same triggers, just in different format.
[blinking]
GUI:
[/blinking]
[blinking]
GUI: TEXT
[/blinking]Reveal Map
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
This Text version is basically just a Copy and Paste to a forum board type of thing.
[blinking]
JASS:
[/blinking]function Trig_Reveal_Map_Actions takes nothing returns nothing
call FogEnableOff( )
call FogMaskEnableOff( )
endfunction
//===========================================================================
function InitTrig_Reveal_Map takes nothing returns nothing
set gg_trg_Reveal_Map = CreateTrigger( )
call TriggerAddAction( gg_trg_Reveal_Map, function Trig_Reveal_Map_Actions )
endfunction
These are all the same triggers, just in different format.
-
- Member
- Posts: 83
- Joined: May 6th, 2008, 10:29 am
Re: Text vs Events,conditions & actions
Can i convert GUI:TEXT to GUI?
Or i have to understand GUI:TEXT to slowly convert it to GUI.
Or i have to understand GUI:TEXT to slowly convert it to GUI.
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Text vs Events,conditions & actions
You kinda have to understand GUI to convert GUI Text to Gui triggers itself. Its not hard, just try and search for what matches.
-
- Member
- Posts: 83
- Joined: May 6th, 2008, 10:29 am
Re: Text vs Events,conditions & actions
I see lots of post written they need around months or a year to restore the triggers of an unprotected map, what does it mean?
-
- Tyrannical Drama Queen
- Posts: 4446
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Text vs Events,conditions & actions
That's called exaggeration.
But with the maps most people request, it's probably not far off.
Converting all the triggers in EotA, for example, would take massive amounts of time.
But with the maps most people request, it's probably not far off.
Converting all the triggers in EotA, for example, would take massive amounts of time.