• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

About Survival Game...

Status
Not open for further replies.
They use at least 2 separated triggers [campaigns use 3, one for quest setting, one for discovered stat one for complete status]
Necessary stuff for making it :
  • Quest - Create Quest
  • Quest - Show Quest [if quest is undiscovered]
  • Quest - Flash Quest Button Dialog [if use quest is undiscovered then discovered, this is to notify the players]
  • Quest - Create Quest Requirement
  • Quest - Mark Quest as Completed
  • Quest - Mark Quest as Failed [only for optional with a fail condition like human 05 ROC]
  • Set QuestVar = Last Created Quest
  • Set QuestReqVar = Last Created Quest Req
Those are the actions necessary for making quest [doesn't mean they make quest if used in one trigger, some actions are for initializing and some for ending], some are optional, marked by the comment inside the [] box
 
Level 8
Joined
Mar 22, 2008
Messages
422
  • shield
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • ((Hero manipulating item) has an item of type Unholy Legion Shield (|cFFFF0000recipe|r)) Equal to True
              • ((Hero manipulating item) has an item of type Static Shield of Protection) Equal to True
              • ((Hero manipulating item) has an item of type Behemoth Skull Shield) Equal to True
              • ((Hero manipulating item) has an item of type Immunity Shield) Equal to True
        • Then - Actions
          • Item - Remove (Item carried by (Hero manipulating item) of type Unholy Legion Shield (|cFFFF0000recipe|r))
          • Item - Remove (Item carried by (Hero manipulating item) of type Behemoth Skull Shield)
          • Item - Remove (Item carried by (Hero manipulating item) of type Static Shield of Protection)
          • Item - Remove (Item carried by (Hero manipulating item) of type Immunity Shield)
          • Hero - Create Unholy Legion Shield and give it to (Triggering unit)
        • Else - Actions
          • Do nothing
copied it directly from a old map of mine.
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Craft items. I do know they are just like same with Recipe System that when you have two components of this specific recipe, it will merge into something better. Try searchinf for Recipe Systems here and they might solve your problem about crafting.
 
Level 29
Joined
Oct 24, 2012
Messages
6,543
  • shield
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • ((Hero manipulating item) has an item of type Unholy Legion Shield (|cFFFF0000recipe|r)) Equal to True
              • ((Hero manipulating item) has an item of type Static Shield of Protection) Equal to True
              • ((Hero manipulating item) has an item of type Behemoth Skull Shield) Equal to True
              • ((Hero manipulating item) has an item of type Immunity Shield) Equal to True
        • Then - Actions
          • Item - Remove (Item carried by (Hero manipulating item) of type Unholy Legion Shield (|cFFFF0000recipe|r))
          • Item - Remove (Item carried by (Hero manipulating item) of type Behemoth Skull Shield)
          • Item - Remove (Item carried by (Hero manipulating item) of type Static Shield of Protection)
          • Item - Remove (Item carried by (Hero manipulating item) of type Immunity Shield)
          • Hero - Create Unholy Legion Shield and give it to (Triggering unit)
        • Else - Actions
          • Do nothing
copied it directly from a old map of mine.

get rid of the and condition. the only time u need to use and conditions is inside an or conditions.

anything used twice or more store into a temp variable and use that instead. exampl hero manipulating item should be stored

@TO
plz explain what u mean by crafting system. naming another map doesnt help. explain exactly what u want
 
Level 8
Joined
Mar 22, 2008
Messages
422
get rid of the and condition. the only time u need to use and conditions is inside an or conditions.

anything used twice or more store into a temp variable and use that instead. exampl hero manipulating item should be stored

@TO
plz explain what u mean by crafting system. naming another map doesnt help. explain exactly what u want

I don't do wc3 modding anymore and the map it self is 4 years old from when i first started mapping.

Also just change it 2 a unit casts an ability.

ability equal to XXXX

then do the check for items ~_~.
 
Status
Not open for further replies.
Top