Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.



Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > StarCraft > Starcraft General > Starcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 08-15-2004, 07:11 PM   #1 (permalink)
BattleForums Senior Member
 
raDixGhost's Avatar
 
Join Date: Sep 2002
Location: East Coast
Age: 20
Posts: 2,606
Trigger Problem

Well i use Starforge, Zap Placer, and Starcraft X-Tra Editor. But sometimes when i use a trigger that is used to create units, it sometimes creates them like its supposed to but sometimes it doesnt create or sometimes it creates more than it should.

I have a trigger such as this.

Condition
Always
Action
Create 1 Protoss Dark Templar(Hero) at location xxx

But instead of creating one it creates two. And this just didnt happen in one map but alot of different maps i made. I asked someone and he says hyperaction type thing. I know how to fix it after it happens but why should it happen in the first place?
__________________
raDixGhost is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 08-16-2004, 07:11 AM   #2 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 19
Posts: 4,494
If you have that trigger in a force. That trigger will fire once, times the number of active players in that force. So if you have 2 human players alive in force 1. The trigger in force one will fire twice.
Lwek is offline   Reply With Quote
Old 08-24-2004, 09:03 PM   #3 (permalink)
BattleForums Senior Member
 
raDixGhost's Avatar
 
Join Date: Sep 2002
Location: East Coast
Age: 20
Posts: 2,606
But shouldnt it make one unit per player? and not two unit per player?
__________________
raDixGhost is offline   Reply With Quote
Old 08-24-2004, 09:12 PM   #4 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 19
Posts: 4,494
Having a trigger in a force is the exact same thing as having the trigger for the specific player.

PLAYERS
-Force 1(player 1, 2, 3)
CONDITIONS
-Always
ACTIONS
-Create 1 Protoss Dark Templar(Hero) at 'xxx' for Force 1.

is the exact same thing as:

PLAYERS
-Player 1
-Player 2
-Player 3
CONDITIONS
-Always
ACTIONS
-Create 1 Protoss Dark Templar(Hero) at 'xxx' for Force 1.

I haven't encountered this problem a lot so I don't know everything about this. But I don't think Current Player would work.
Lwek is offline   Reply With Quote
Old 08-26-2004, 09:07 PM   #5 (permalink)
BattleForums Senior Member
 
Bolt Head's Avatar
 
Join Date: May 2003
Posts: 1,194
Current player would work.

It creates extras because of whom the units are created for.

If you create 1 unit for "force 1" that single trigger will create one unit for each player in that force. Since your trigger is owned by the whole force each player will run the trigger. Each time creating one more unit for every player.

If you select 'current player' instead of 'force 1' then each trigger acts differantly. Instead of creating one unit for each player in the force it ONLY creates a unit for the player running the trigger. Then since the trigger will run for each player in that force each player will end up getting one unit.

Keep in mind that group owned triggers do not fire all at once. They fire independantly for each player in that group. And along with the rest of that specific players triggers.
Bolt Head is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« map site?? | I little problem... »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 05:43 PM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0