• 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.

i need help with 2 things :) thanks

Status
Not open for further replies.
Level 3
Joined
Apr 27, 2005
Messages
45
i need little help with 2 things...

1) if i move a unit i to a region and starts a trigger ... lets say.. it makes another trigger work and it creats units after some time...
here is the problem now...
when i move the unit off the region it still makes units after time.. :/ i tried when "leaveing region trigger" but didnt work.. :S

2) this is about mass moving units...
here is what it should do... when i move 1 unit in to a region. then all my units on the map have to attack (lets say) player2 :p

these are the only things what i cant get to work.. after this i can release my map :) :wink: :wink:

thanks all :)
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
1) Make this trigger:

Events:
Every ... seconds of the game
Conditions:
-------
Actions:
If: 'Rect' (at the unit u want 2 be spawned) contians a unit owned by player 1
Then: Create 1 'spawn unit' for player 1 at 'Rect' (Spawn point)
then more if, then , elses for every player

2) Action: Pick every unit in playable map area owned by player ... and do action: order picked unit to attack-move to 'rect' (at the other player)
 
Level 3
Joined
Apr 27, 2005
Messages
45
the moving thing is done.. but omg i cant find this place if" Rect' (at the unit u want 2 be spawned) contians a unit owned by player 1 "

i have been looking and looking still cant find it :D omg... havent sleeped like 34h or so :D partys and wc3 :D rofl :d
 
Level 2
Joined
Feb 12, 2005
Messages
22
You can create 2 triggers... one runs spawn trigger other turn off it... :D
1trigger works if unit enters the region (you made this already)
2trigger works if unit leave this region

thats easy :)
 
Level 3
Joined
Apr 27, 2005
Messages
45
morning :D

Ramza i understand but i cant find the trigger for this

If: 'Rect' contians a unit owned by player 1
i know its lame but :d
shit happens :D i cant find it :d
 
Level 3
Joined
Apr 27, 2005
Messages
45
i saw ur posts but it doesnt work... look here is what trigger i was tring befor i came here for help

Code:
Bandit Enters
    Events
        Unit - A unit enters Bandit <gen>
    Conditions
    Actions
        If ((Owner of (Entering unit)) Equal to Player 1 (Red)) then do (Trigger - Turn on Bandit region <gen>) else do (Do nothing)
        If ((Owner of (Leaving unit)) Equal to Player 1 (Red)) then do (Trigger - Turn off Bandit region <gen>) else do (Do nothing)

i tried every way... but i didnt work... it works when i move on.. but when i move off i doesnt :S

try and make a trigger like that and if u get it to work post it here :D


ahh and a new problem as well...
its like my first problem.. but this time its with abilty.

big thx :p
 
Level 3
Joined
Apr 27, 2005
Messages
45
ok i did like this...

Code:
Bandit Enters
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Bandit <gen> contains Unit 0546 <gen>) Equal to True
            Then - Actions
                Trigger - Run Bandit Region <gen> (checking conditions)
            Else - Actions

but when i take him of it still makes units :/
 
Level 2
Joined
Feb 12, 2005
Messages
22
I am gonna kill myself

first trigger
bandit enter region
action:
turn onn trigger what creats units

second trigger
bandit leave region
action:
turn off trigger what creats units

thats all

Ramza, i know, but is the most easy one

but can u help me with the 3 problem
go on :)
 
Level 3
Joined
Apr 27, 2005
Messages
45
ahaha.. :D trigger battle.. ;D
ehh :p

i wana move all units on map with press of an ability :D let say in the center of the map :d
or some "rect"
 
Status
Not open for further replies.
Top