• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Not over yet! :(

Status
Not open for further replies.
Level 3
Joined
Aug 31, 2008
Messages
22
I've got some question:

1) i followed a guide in how to put a map preview, it works but it does for me only, the other players says that they see a white window instead of my image.
Why? What's the right way to do it?

2) i'm needing of a trigger that makes recipes, like in dota with obviously my custom items.

3)I'm still needing of a duel system because i didn't like so much the ones i saw; i'm looking for a simple one...if you can paste and copy it in Jass format maybe it's better ( i mean if there are just things to modify like time and so i think that i can handle that even in Jass).. Otherwise even in Gui format is ok.

4)How to put more than 5 abilities as maximum number that an hero can learn? I was planning to put like 10 abilities since there are slots in the heroe's skill list, but i can't add more than 5.

5)How can i stop people cheating with whosyourdaddy and crappy things like those? A kick system if a player writes the exact match of the word would be perfect.

Answer me Please +++ Reputation
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
1) Make sure you imported the right image files.
2) Here's a basic Wirt's Leg recipe:
  • Wirts Leg Recipe
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Scroll of Wirt's Leg
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (((Hero manipulating item) has an item of type Gloves of Haste) Equal to True) and (((Hero manipulating item) has an item of type Boots of Speed) Equal to True)
        • Then - Actions
          • Item - Remove (Item carried by (Hero manipulating item) of type Scroll of Wirt's Leg)
          • Item - Remove (Item carried by (Hero manipulating item) of type Boots of Speed)
          • Item - Remove (Item carried by (Hero manipulating item) of type Gloves of Haste)
          • Hero - Create Wirt's Leg and give it to (Hero manipulating item)
          • Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Units\NightElf\Wisp\WispExplode.mdl
          • Special Effect - Destroy (Last created special effect)
        • Else - Actions
          • Item - Remove (Item being manipulated)
          • Player - Add 325 to (Owner of (Hero manipulating item)) Current gold
          • Game - Display to (All players matching ((Owner of (Hero manipulating item)) Equal to (Matching player))) for 4.00 seconds the text: |c00FFD700You do not have the requirements for that recipe!
3) Not going to bother
4) Use a Spellbook
5)
  • Stupid Cheater
    • Events
      • Player - Player 1 (Red) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 2 (Blue) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 3 (Teal) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 4 (Purple) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 5 (Yellow) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 6 (Orange) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 7 (Green) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 8 (Pink) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 9 (Gray) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 10 (Light Blue) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 11 (Dark Green) types a chat message containing whosyourdaddy as An exact match
      • Player - Player 12 (Brown) types a chat message containing whosyourdaddy as An exact match
    • Conditions
    • Actions
      • Game - Defeat (Triggering player) with the message: Fag
 
Level 3
Joined
Aug 31, 2008
Messages
22
thank you very much your triggers really helped me and are working! ( love you )!

But i don't get the spellbook thing...What are you talking about?
 
En Fuego's solution for question 5 won't work. You'll have to do workarounds to detect the cheat. For example, as whosyourdaddy will amplify any unit's damage 100x, you have to create a unit with 1 damage constantly attacking a unit with 100hp and 100 hp regen.
So, when the attacked unit dies, it means that whosyourdaddy has been enabled.

Spellbook is a spell that allows the hero to have 11 more buttons (you click it and voila, 11 new slots appear). Search for it in the Object Editor, and I guess that the tutorials section have enough information about it:
The Mysteries of the Spellbook
 
Level 3
Joined
Aug 31, 2008
Messages
22
I'm still needing a thing...I don't understand why i place my map preview with an image that i resized to 128x128 and i'm the only one that can see it...Can someone tell me what's the right process to do it?

Ah i forgot that regarding the trigger for items, people can buy the recipe and having the effects of the completed recipe even if they didn't buy items for fusion :/
 
Last edited:
Level 6
Joined
Jun 14, 2008
Messages
176
Ah i forgot that regarding the trigger for items, people can buy the recipe and having the effects of the completed recipe even if they didn't buy items for fusion :/
Make sure the "recipe(item)" and not the completed recipe have the stats. The "recipe(item)" should have no stats.

Or are you saying when they buy the recipe, it suddenly gives them the completely recipe item?


I'm still needing a thing...I don't understand why i place my map preview with an image that i resized to 128x128 and i'm the only one that can see it...Can someone tell me what's the right process to do it?

You said you followed a guide? Can you post the link of the guide.

5)How can i stop people cheating with whosyourdaddy and crappy things like those? A kick system if a player writes the exact match of the word would be perfect

IMO I don't think you should do that unless it's a map with a -save or -load type of function that can be used in multiplayer as well as single player, because otherwise it doesn't really matter to prevent those types of things.
 
Status
Not open for further replies.
Top