HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

The new [tree] tag!

12-21-2005, 12:34 PM#1
Zoxc
What is the purpose Tree-tag?
The purpose of the Tree-tag is to make a text into a collapsing treeview.

How can I use this?
Its is great to use doing mindstorming. Also to post triggers.

Can I use other tags inside?
For now you can only use [b], [i] and [u] tags.

How does it work?
There are two types of tree tag: [tree] and [trigger].

[trigger] should be used to pasting scripts exported from World Editor. It will display icons matching those in

Trigger Editor .

[tree] is different. It shows no icons. In order to build a treeview you must follow certain rules.
It will check the first space difference between levels. So both of the codes below turns into the same treeview.

Code:
Top node
 Sub node
 SecondSub node
  Another sub node
Second Top node
Code:
Top node
      Sub node
      SecondSub node
           Another sub node
Second Top node

Tree:
CollapseTop node
Sub node
CollapseSecondSub node
Another sub node
Second Top node


Examples:

Mindstorming
Tree:
My new project
CollapseHeroes
CollapseArthas
CollapseSpells
Holy Bolt
Lightning
Offensive
CollapseOrcomand
CollapseSpells
Command
Fire Beam
Offensive
CollapseFaceless
CollapseSpells
Look dumb, then strike
Be nice
Defensive
CollapseItems
CollapseMagic
Sheild of something
CollapseUnique
The essence of a mind
CollapseCommon
Apple
Pie
CollapseMaps
Home
Far Far Away
CollapseMembers
CollapseTerrainers
Jurky
Myself
Mosken
CollapseObject Editing
Myself
Mosken
CollapseTriggering
Myself


Trigger:
Trigger:
Melee Initialization
Collapse Events
Map initialization
Collapse Conditions
((Triggering unit) is A structure) Equal to True
Collapse Actions
Melee Game - Use melee time of day (for all players)
Game Cache - Create a game cache from MapName.w3v
Region - Center (Current camera bounds) on (Center of (Playable map area))
Special Effect - Create a special effect at (Center of (Playable map area)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Ability being cast) Equal to Animate Dead
Collapse Then - Actions
Wait 2.00 seconds
Collapse Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Collapse Loop - Actions
Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
Collapse Else - Actions
Quest - Display to (All players) the Quest Update message: testing

If you have any question on how to use this. Post below.
12-21-2005, 12:39 PM#2
Metal_Sonic64
Wow, extremely useful. I'm kinda at a loss on how to sue them though.
12-21-2005, 12:46 PM#3
Blade.dk
Wonderful - I'm sure this will be very useful. Good job :).
12-21-2005, 01:04 PM#4
Anitarf
Am I the only one that doesn't see shit, or are these features not implemented yet (or have just been de-implemented)?

I'm using Firefox 1.0.2, in case this is a bug.
12-21-2005, 01:05 PM#5
Metal_Sonic64
Wait... It changed, before you could see the trees and expand them and stuff.

Test:
Tree:
Top node
Sub node
SecondSub node
Another sub node
Second Top node

Nope, nothing.
12-21-2005, 01:07 PM#6
Blade.dk
I think they temporarily put them off, because they would add more things to them.

They worked before.
12-21-2005, 01:09 PM#7
Zoxc
Yeah Vexorian is evil :( He turned them off :(

EDIT: Couldn't see Anitarf post before know so..

They don't seam to parse now. Hm.. someone edited MY post -.-.
You'll see them when Vex turns them on again...
12-21-2005, 06:18 PM#8
Vexorian
With more and more people figuring out I am evil, I won't be able to hide my evilness anymore
12-21-2005, 06:20 PM#9
Starcraftfreak
Quote:
Originally Posted by Anitarf
Am I the only one that doesn't see shit, or are these features not implemented yet (or have just been de-implemented)?

I'm using Firefox 1.0.2, in case this is a bug.
In my opinion you should update your Firefox. Version 1.5 is just sooo nice
12-21-2005, 06:26 PM#10
Blade.dk
Vex: Well, the rest of us just figured it out now, posting it in the public if you want to hide it will not help .

SCF: Agreed. And it should be safer aswell.
12-21-2005, 06:27 PM#11
Zoxc
I posted it not Vex =P
12-21-2005, 06:29 PM#12
Blade.dk
Quote:
Originally Posted by Zoxc
I posted it not Vex =P

He verified it. Not everybody would've believed you .
12-21-2005, 10:50 PM#13
BBDino
The trigger's one is OMGWTFSECKSY!
12-22-2005, 11:21 AM#14
Zoxc
Vex need to learn HTML and JavaScript ^^

The code I gave you worked on Opera 8.51, IE 6.0, FF 1.5.

<tag param=""> not <tag param=''>

Also href='javas"+"script:dnode1.openAll()' in addition to onClick.
If it would be used the right would be href="javascript:dnode1.openAll();"
12-22-2005, 12:11 PM#15
flamesforzuljin
this does absolutely nothing for me. i click (collapse all) and nothing happens, it just directs me to the "Trigger" line. i click (expand all) and i get directed to this page:

javasscript:dnode1.openAll()

and get the "This page cannot be displayed" message.

i am at a loss as to what this does, besides "make a text into a collapsing treeview"

0.^

-flames