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. Whatever your game interest may be, you'll find information here where people realize that games are more than just poker online.


Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Blizzard Gaming Forums > Warcraft > Warcraft General > Warcraft 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-09-2004, 08:36 PM   #1 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
Question

I think I might have asked this before but the trigger wasnt correct. I want a trigger that when I select 3 of a unit..lets say a peasant, and type sacrafice, it explodes the peasants and makes a footman. I need an exact trigger as simple as possible. This is my 2nd map so I'm not a pro at it yet. I'll give credit in my map to whoever helps the most.
__________________
HellThrone 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-09-2004, 10:04 PM   #2 (permalink)
BattleForums Senior Member
 
IceDevil9's Avatar
 
Join Date: Feb 2003
Location: CA
Age: 20
Posts: 3,420
Well, I tried figure out your problem, ended up writing some triggers in this little box here, but it didn't work out right, so why don't you have them go to an area to ransform their peons to footmen. Again, I triued working thisa out and couldn't a way to do it for multiple units.

If someone else can help him that would be great.

-Frank :cool:
__________________



All brawn and no brains and all those nice things
And you finally got what you want
Someone to look good with and light you cigarette
Is this what you really want?

I've figured out, what you're all about
And I don't think I like what I see, so
I hope I won't be there in the end when you come around

How long will he last before he's a creep in the past
And your alone once again
Will you pop up again and be my special friend
Till the end and when will that be


:halo Kurt Donald Cobain 1967 - 1994 R.I.P. :halo

IceDevil9 is offline   Reply With Quote
Old 08-10-2004, 12:03 AM   #3 (permalink)
BattleForums Addict
 
Darimus's Avatar
 
Join Date: Oct 2003
Posts: 681
Player types Sacrifice and An Exact Match

Unit Group - Pick Every Unit in playable map area owned by triggering player and do:

If [BOOLEAN COMPARISON] (Picked Unit) is selected by (triggering player) = true

then: explode - picked unit
unit - create 1 footman at unit - position of picked unit

else: do nothing
Darimus is offline   Reply With Quote
Old 08-10-2004, 06:00 AM   #4 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
Events
Player - Player 1 (Red) types a chat message containing sacrafice as An exact match


Conditions


Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)

If - Conditions
((Picked unit) is selected by Player 1 (Red)) Equal to True

Then - Actions
Unit - Explode (Picked unit)
Unit - Create 1 Footman for Player 1 (Red) at (Position of (Picked unit)) facing Default building facing (270.0) degrees

Else - Actions
Do nothing


That's it word for word. Will someone tell me what's wrong there because that's not working.
__________________
HellThrone is offline   Reply With Quote
Old 08-10-2004, 06:10 AM   #5 (permalink)
Aya Matsuura is awesome
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: Trieste, Friuli-Venezia Giulia
Age: 20
Posts: 15,282
Spell sacrifice properly?

...

1) You can't use 'Picked Unit' - The Event is a text-message event.

EVENT: Unit Group - Pick Every Unit in playable map area owned by [Triggering Player] and do

...

[large If statement]

If (([Picked Unit] is selected by [Triggering Player]) and ([Picked Unit] is equal to [Peasant]))

Darimus, do you see the problem? He has three peasants, not one to be selected.

Here, the only thing I can see is variables.....

But I'll need some time to think this one out without having 5-level brackets.
__________________
* IM IN UR WIKI RVRTING UR EDITS

x42bn6 is offline   Reply With Quote
Old 08-10-2004, 06:34 AM   #6 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
haha i actually did check to make sure i spelled sacrafice prperly and i did. anyone else have any ideas as x42 thinks it over?
__________________
HellThrone is offline   Reply With Quote
Old 08-10-2004, 06:41 AM   #7 (permalink)
Aya Matsuura is awesome
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: Trieste, Friuli-Venezia Giulia
Age: 20
Posts: 15,282
I have one idea. But I'm not sure if it works with multiple selects.

First, is there an event for when a unit is selected?

*unable to check on work machine*
__________________
* IM IN UR WIKI RVRTING UR EDITS

x42bn6 is offline   Reply With Quote
Old 08-10-2004, 06:46 AM   #8 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
theres no event. its ganna be something like when u select 3 peasants and type sacrafice a super unit (in this case a super peasant) appears. my idea is a super peasant would be 2ce as fast as a normal peasant. same idea for every other unit. but to make it simple i said from peasant to footman.
__________________
HellThrone is offline   Reply With Quote
Old 08-10-2004, 06:59 AM   #9 (permalink)
Aya Matsuura is awesome
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: Trieste, Friuli-Venezia Giulia
Age: 20
Posts: 15,282
I just realised, this involves functions and scripting because I can't see any workaround. :|

Sorry, my WE scripting is zero.
__________________
* IM IN UR WIKI RVRTING UR EDITS

x42bn6 is offline   Reply With Quote
Old 08-10-2004, 07:16 AM   #10 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
anyone else then, ty though x42
__________________
HellThrone is offline   Reply With Quote
Old 08-10-2004, 10:44 AM   #11 (permalink)
BattleForums Senior Member
 
IceDevil9's Avatar
 
Join Date: Feb 2003
Location: CA
Age: 20
Posts: 3,420
x42 I don't think this is possible, as simple as it sounds. I tried about 6 different ways suing varibales and just couldn't figure it out.

-Frank :cool:
__________________



All brawn and no brains and all those nice things
And you finally got what you want
Someone to look good with and light you cigarette
Is this what you really want?

I've figured out, what you're all about
And I don't think I like what I see, so
I hope I won't be there in the end when you come around

How long will he last before he's a creep in the past
And your alone once again
Will you pop up again and be my special friend
Till the end and when will that be


:halo Kurt Donald Cobain 1967 - 1994 R.I.P. :halo

IceDevil9 is offline   Reply With Quote
Old 08-10-2004, 11:26 PM   #12 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
whats the closest thing i can get to it.
__________________
HellThrone is offline   Reply With Quote
Old 08-10-2004, 11:57 PM   #13 (permalink)
BattleForums Junior Member
 
Join Date: Apr 2004
Location: Clearwater, Florida
Age: 19
Posts: 109
OMFG do what they said only add the condition

(Number of units in (Units currently selected by Player 1 (Red))) Equal to 3


HOW HARD WAS THAT??!!
__________________
Dethstalker is offline   Reply With Quote
Old 08-11-2004, 01:03 AM   #14 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
I DID THAT AND IT DOESNT FREKAIN WORK YOU TRY IT!!!
__________________
HellThrone is offline   Reply With Quote
Old 08-11-2004, 04:02 AM   #15 (permalink)
BattleForums Junior Member
 
Join Date: Apr 2004
Location: Clearwater, Florida
Age: 19
Posts: 109
lol i cant get the rest of the trigger to work....the Picked unit doesnt work but the condition i made does for sure.....ill work on it some
__________________
Dethstalker is offline   Reply With Quote
Old 08-11-2004, 05:32 AM   #16 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
we can always step it down a notch if we have to, to make it where 3 peasants go to a selected area. peasants die, footman spawns. but that is LAST RESORT and i would love it if we could get the real one or something near it workin first.
__________________
HellThrone is offline   Reply With Quote
Old 08-11-2004, 02:45 PM   #17 (permalink)
Aya Matsuura is awesome
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: Trieste, Friuli-Venezia Giulia
Age: 20
Posts: 15,282
What I was thinking was scripting, because that is the only way, knowing which units are selected.

One way would be to 'mark' the unit to a variable, loop three times, ignore 'marked' units and detect if three Peasants are selected.

Let me get my thinking cap on overnight.

-.-;
__________________
* IM IN UR WIKI RVRTING UR EDITS

x42bn6 is offline   Reply With Quote
Old 08-13-2004, 03:18 AM   #18 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
come on guys i NEED this trigger its the main one in my game!
__________________
HellThrone is offline   Reply With Quote
Old 08-13-2004, 04:55 AM   #19 (permalink)
BattleForums Junior Member
 
Join Date: Apr 2004
Location: Clearwater, Florida
Age: 19
Posts: 109
just make a region....A Unit enters region...UR REAGION

Number Of units of type peasant in that reagion equal to 3.

replace triggering units with Footman
__________________
Dethstalker is offline   Reply With Quote
Old 08-13-2004, 06:09 AM   #20 (permalink)
BattleForums Member
 
HellThrone's Avatar
 
Join Date: Oct 2003
Location: Hell
Age: 28
Posts: 295
okay that doesnt make sense yet i understand it.. i guess thats what ill have to do.. if you guys CAN find something out, post it here. ill be checking for updates once or 2ce a day.
__________________
HellThrone is offline   Reply With Quote
 
Reply

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

« Mapmaking Copyrights | Where is the hack forum? »

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:48 AM.



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