• 🏆 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!

Sorta a Item Trigger...I need help

Status
Not open for further replies.
Level 3
Joined
Jan 1, 2007
Messages
27
I need help on making a trigger in which specific items are put in a specific area(region) and a unit is created and other regions spawn units in about 30 seconds
 
Level 9
Joined
Jun 26, 2007
Messages
659
  • create item and unit after 30 seconds
    • Events
      • Time - Elapsed game time is 30.00 seconds
    • Conditions
    • Actions
      • Object - Create Object at (Center of (Region))
      • Unit - Create 1 Unit for Player at (Center of (Region)) facing 0.00 degrees
maybe it's not that you want,
but you should give more details if you want us to help you
 
Level 7
Joined
Jun 1, 2006
Messages
375
God this is the 2nd Question ive read today where the person asking the question is completly un-understandable. i sugist u 7yp3 be77e12... |<?
 
Level 3
Joined
Jan 1, 2007
Messages
27
Ok, i made custom items: mushroom, wood(or log), and fish. I want it so that when a hero gathers them all, runs to a area, and takes them out of the inventory and puts them in the region, a ship ( raft) is spawned at a target location. But all the items have to be there and after the raft is spawned make the items disappear
 
Level 9
Joined
Jun 26, 2007
Messages
659
use 3 boolean and 4 trigger

boolean: (default value for each one = false)
- fishgiven
- mushromgiven
- woodgiven

3 trigger for the gift detection: (one for each item)
Event : item put on the région
Condition : item-type = (fish/mushrom/wood)
Actions :
set (fish/mushrom/wood)given to true
remove triggering item
run the 4th trigger checking condition

4th trigger:
Event :
Condition : fishgiven, mushromgiven and woodgive equal to true
Actions : spawn the raft

something like this
 
Status
Not open for further replies.
Top