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

Hey this isnt working...

Status
Not open for further replies.
Level 2
Joined
Feb 24, 2008
Messages
17
Hey guys! I need some trigger help :hohum:

First off I am trying to make it for creeps to drop items AFTER they respawn.. It isn't working out for me! Here is my current Trigger:
  • Forest Stalkers
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • Itemdrop1to10[1] Equal to 1
          • (Unit-type of (Triggering unit)) Equal to Forest Stalker
          • (Owner of (Dying unit)) Equal to Player 12 (Brown)
    • Actions
      • Set Itemdrop1to10[1] = (Random integer number between 15 and 25)
      • Item - Create Troll Axe at (Position of (Dying unit))
if anyone could help me on that...
I also have anouther question... Roaming trying to get my creeps to roam.. aint working out... heres my current trigger for this:
  • Forest
    • Events
      • Map initialization
      • Time - Every 8.00 seconds of game time
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 12 (Brown)
      • (Player 12 (Brown) controller) Equal to Computer
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
        • Loop - Actions
need a lil help on that as well :) thanks! that's about it i suppose... If anyone could give me help i would love it! :grin:
(P.S. im starting a new abilities book for my heroes if you wanna offer advice that would be helpful to :thumbs_up: )
 
Level 22
Joined
Feb 26, 2008
Messages
891
1. This should be in the GUI Trigger section.

2. Anyway. Where is your respawn trigger? It would be helpful to see that, too.

3. For roaming, have you ever heard of the Wander ability? It might to the trick. You should give it a try. :wink:
 
Level 2
Joined
Feb 24, 2008
Messages
17
1. This should be in the GUI Trigger section.

2. Anyway. Where is your respawn trigger? It would be helpful to see that, too.

3. For roaming, have you ever heard of the Wander ability? It might to the trick. You should give it a try. :wink:

um for the 3rd option i have tried wander ability it dosnt work.. and i dont want units roaming off into towns or city or even boss locations anyway...

heres the respawn trigger...
  • Creep Revival1
    • Events
      • Unit - A unit owned by Player 12 (Brown) Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Forest Stalker
    • Actions
      • Wait 15.00 seconds
      • Unit - Replace (Dying unit) with a Forest Stalker using The new unit's default life and mana
The forest Stalker stand for a Dark Troll.. so yeah...
 
Level 22
Joined
Feb 26, 2008
Messages
891
Ok, then why don't you add your item dropping actions after the 15 second wait in your respawn trigger?
Just use an If/Then/Else to get the conditions, and you should be set.

Now, for the wandering.
Take your trigger and delete the Owner of Triggering Unit condition. It will never return true because there's no Triggering Unit.
Then put an action under the loop that orders the Picked Unit to move to a random point in a region or so, and that should work.
 
Status
Not open for further replies.
Top