- Joined
- Jun 14, 2005
- Messages
- 2,506
This is a Guide to all of the custom vB codes that have been made for the site.
Contents
Chapter
The Chapter vB code will let you create a title without to much effort, all you need to do is use the tags.
Code:
[chapter][/chapter]
Example:
Chapter
Trigger
This allows you to use the trigger tags. You can copy and paste a trigger out the World Editor and then use the trigger tags to make it look like it does in the World Editor.
Code:
[trigger][/trigger]
Example:
- Map Initialization
- Events
- Map initialization
- Conditions
- Actions
- Advanced - Initialize advanced triggers
- Cinematic - Turn cinematic mode On for (All players)
- Cinematic - Enable user control for (All players)
- Cinematic - Fade out over 0.00 seconds using texture Black Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
Jass
This allows you to enter Jass into your post. Just copy and paste the Jass code into your post.
Code:
[code=jass][/code]
Example:
JASS:function Trig_Map_Initialization_Copy_Actions takes nothing returns nothing call InitAdvancedTriggers( ) call CinematicModeBJ( true, GetPlayersAll() ) call SetUserControlForceOn( GetPlayersAll() ) call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 0.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 100.00, 100.00, 100.00, 0 ) endfunction //=========================================================================== function InitTrig_Map_Initialization_Copy takes nothing returns nothing set gg_trg_Map_Initialization_Copy = CreateTrigger( ) call TriggerAddAction( gg_trg_Map_Initialization_Copy, function Trig_Map_Initialization_Copy_Actions ) endfunction
Flash
This vB code allows you to display a flash file.
Code:
[flash][/flash]
Google Search
This allows you to simply enter a word, and when the link is clicked it will search for that word in google.
Code:
[url=https://www.google.com/search?q=%22Search+Term%22]Text[/url]
Example:
Hello
Horizontal Rule
This adds a horizontal rule.
Code:
[hr]length[/hr]
Example:
Go To
This allows you to have a link that will go to a point.
Code:
[goto="Anchor Name"]Text[/goto]
Example:
Text
Point
Box |
This will put a box around your text, and also let you have a title for the box. The Code for this is [box=Title]Content[/box]. Example:
|
Table vB CodeThis is the new Table vB code. Basicly you start of with [table]make a [c] to make a new column, and a [r] to make a new row. However make sure you don't use the [c] tag after the [r] or [table] code, because they will automatically create a column. Then just finish off the table with the [/table] tag.
Example:
1,1 1,2 1,3
2,12,2 2,3
3,13,2 3,3
Code:
[table]1,1[c]1,2[c]1,3[r]
2,1[c]2,2[c]2,3[r]
3,1[c]3,2[c]3,3[/table]
Simple Table |
There is also a Simple Table vB code, which is basicly a table header with another row underneath it for the content of the table. The Code for this is [box="Title"]Content[/box]. Example:
|
Last edited: