WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar

Closed Thread
Thread Tools Search this Thread
Old 07-12-2003, 11:44 PM   #1
Join Date: Jul 2003
Posts: 12

Stolenfat has little to show at this moment (0)


i want something to be activated when a unit from each player moves into a region. Im having trouble checking if that player is even playing so the trigger wont need that players unit to activate.
Stolenfat is offline  
Sponsored Links - Login to hide this ad!
Old 07-12-2003, 11:56 PM   #2
Join Date: Mar 2003
Posts: 582

Thunder-Hunter is on a distinguished road (10)



E = Event
C = Condition
A = Action

Trigger 1

E: Unit enters region
C: Owner of triggering unit = Bleh
A: Set VAR +1
A: Run trigger 3 (checking conditions)
A: Turn off this trigger
A: Turn on trigger 2

Tigger 3
E: (whatever or blank here)
C: If VAR =or greater then 4 (or X)
A: Do (whatever u want)

Tigger 2 (Initaly Off)
E: Unit Leaves Region
C: Owner of triggering unit = Bleh
A: Set VAR -1
A: Turn off this trigger
A: Turn on trigger 1

now u need to copy trigger 1+3 for each player.... Hope this helps
From the depths I come.

Well alot has changed since my last being here. Both the site and I. Alot my old posts were pretty noobish and just repeated mostly what other people said..
Thunder-Hunter is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT. The time now is 07:11 PM.

The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2018, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services