Easy Forum Help Question

Status
Not open for further replies.

nasacar3000

New Member
Reaction score
1
Yeah so how do people post the actual trigger from world editor... Like i always type mine out

Events-A unit Dies

Conditions- Unit is a hero

Actions - Hero goes woo


How do people paste the actual trigger in?
 

Squirel

New Member
Reaction score
13
Trigger:
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Melee Game - Use melee time of day (for all players)
      • Melee Game - Limit Heroes to 1 per Hero-type (for all players)
      • Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
      • Melee Game - Set starting resources (for all players)
      • Melee Game - Remove creeps and critters from used start locations (for all players)
      • Melee Game - Create starting units (for all players)
      • Melee Game - Run melee AI scripts (for computer players)
      • Melee Game - Enforce victory/defeat conditions (for all players)


Here's how I did that:
Right click the trigger name above events (in this case "Meelee initialization"
Copy as text
Paste into post
Select the pasted text
Click the yellow a button which will add what are called "tags" that say wc3 and /wc3 in brackets around the text. These tags tell the webpage "Hey! This is a trigger! Format it like one!"
 

Komaqtion

You can change this now in User CP.
Reaction score
469
They right-click the trigger name inside the trigger window, right above "Event".
Then there's thing called "Copy as Text" you click that and then you write [noparse]
Trigger:
  • Paste the trigger here! (Ctrl + V)
 

nasacar3000

New Member
Reaction score
1
Trigger:
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Melee Game - Use melee time of day (for all players)
      • Melee Game - Limit Heroes to 1 per Hero-type (for all players)
      • Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
      • Melee Game - Set starting resources (for all players)
      • Melee Game - Remove creeps and critters from used start locations (for all players)
      • Melee Game - Create starting units (for all players)
      • Melee Game - Run melee AI scripts (for computer players)
      • Melee Game - Enforce victory/defeat conditions (for all players)
 

saickododge

New Member
Reaction score
2
Trigger:
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Melee Game - Use melee time of day (for all players)
      • Melee Game - Limit Heroes to 1 per Hero-type (for all players)
      • Unit - Hide Poison shop 0134 <gen>
      • Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
      • Melee Game - Set starting resources (for all players)
      • Player - Set Player 1 (Red) Current gold to 2000
      • Player - Set Player 2 (Blue) Current gold to 2000
      • Player - Set Player 3 (Teal) Current gold to 2000
      • Player - Set Player 4 (Purple) Current gold to 2000
      • Player - Set Player 5 (Yellow) Current gold to 2000
      • Player - Set Player 6 (Orange) Current gold to 2000
      • Player - Set Player 7 (Green) Current gold to 2000
      • Player - Set Player 8 (Pink) Current gold to 2000
      • Player - Set Player 10 (Light Blue) Current gold to 2000
      • Player - Set Player 11 (Dark Green) Current gold to 2000
      • Player - Turn Gives bounty On for Player 1 (Red)
      • Player - Turn Gives bounty On for Player 2 (Blue)
      • Player - Turn Gives bounty On for Player 3 (Teal)
      • Player - Turn Gives bounty On for Player 4 (Purple)
      • Player - Turn Gives bounty On for Player 5 (Yellow)
      • Player - Turn Gives bounty On for Player 6 (Orange)
      • Player - Turn Gives bounty On for Player 7 (Green)
      • Player - Turn Gives bounty On for Player 8 (Pink)
      • Player - Turn Gives bounty On for Player 9 (Gray)
      • Player - Turn Gives bounty On for Player 10 (Light Blue)
      • Player - Turn Gives bounty On for Player 11 (Dark Green)
      • Player - Turn Gives bounty On for Player 12 (Brown)
      • Set HeroTypes[1] = The death
      • Set HeroTypes[2] = Nr. 1 spearthrower
      • Set HeroTypes[3] = Demon of the Hidden Mist
      • AI - Start melee AI script for Player 6 (Orange): map.ai
      • Set HeroTypes[4] = Possessed Child.
      • Set HeroTypes[5] = Wolf hero
      • Set HeroTypes[7] = Nuke
      • Set HeroTypes[8] = Runner
      • Set HeroTypes[9] = Summoner
      • Set HeroTypes[10] = Horseman
      • Set HeroTypes[11] = Flamethrower
      • Set HeroTypes[12] = Aura guy
      • Set HeroTypes[13] = Malfurion
      • Set HeroTypes[14] = Healer
      • Set HeroTypes[15] = Mortar Team
      • Set HeroTypes[16] = Gargoyle
      • Set HeroTypes[17] = Araldian
      • Set HeroTypes[18] = Super Soldier
      • Set HeroTypes[6] = Necromancer


Haha yeah i got that working too! :D
 

SwedishChef

New Member
Reaction score
32
/offtopic. saickododge use 'for each integer a from 1 to 11' instead of setting same value for all players. Then use convert integer (or something) to player, use integer a (at the top of the scroll list)
 
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top