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 07-08-2004, 06:30 AM   #1 (permalink)
BattleForums Junior Member
 
JesusFreak's Avatar
 
Join Date: Apr 2004
Location: In a Box, on the side of the street
Posts: 124
FF OPEN trigger

okay here, can you get this to work FF OPEN 4.1 style, where you can only equip one sword, and drop the others, until you dorp the one you have. here is a map that almost works, but if you pick up one gun, then try to pick up another it iwll drop it, but right after you can pick up another gun, can you help me?

nm map won't post?
__________________
Current WC3 projects (Updated March 08, 05):
---Resident Evil (i have a team working on it)
---Halo 2 Zombies (I have a team working on it)
Progress of RE:
Terrain ----- ||||||||||
Unit's -------- |||||||||||
Spell's/Ablities- |||||||||||
Trigger's ------|||||||||||
Item's----------|||||||||||
Progress of Halo 2:
Terrain ----- ||||||||||
Unit's -------- |||||||||||
Spell's/Ablities- |||||||||||
Trigger's ------|||||||||||
Item's----------|||||||||||
Red = went down
Blue = went up
Green = same
JesusFreak 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 07-12-2004, 11:57 PM   #2 (permalink)
BattleForums Addict
 
Darimus's Avatar
 
Join Date: Oct 2003
Posts: 681
never played FF OPEN 4.1 but I've done many maps where you can only equip 1 or 2 items at a time.

unit aquires item

condition: item is item 1
or item 2
or item 3
or item

action:
Set ItemCount=0

for each int a from 1 to 6 do:
Loop Actions
----if player has item 1 or item 2 or item 3 or item 4
----then set ItemCount=ItemCount+1

If ItemCount is greater then 1
then do : Drop item being manipulated
Darimus is offline   Reply With Quote
Old 07-13-2004, 09:14 AM   #3 (permalink)
BattleForums Junior Member
 
JesusFreak's Avatar
 
Join Date: Apr 2004
Location: In a Box, on the side of the street
Posts: 124
so i have to do that 100 times if i want to have 100 guns in there?
also if i drop the gun that way, then it won't reset the limit?

here is what i have:

Integers that are arrays, i made 2, they are 12 slots big
AccuireWeapon
DuelWeapon (not used here, used only if you have a pistol, but may not be needed)

Trigger Name: Pick Up A Gun
Events
-Unit - A unit Acquires an item

Conditions
-Or
-Conditions
- Item being manipulated = to item 1
- Item being manipulated = to item 2
- Item being manipulated = to item 3
- Item being manipulated = to item 4

Actions
-If Then Do else do (multi)
-accuire weapon[(player number of (trigging player)))] equal to 0
-Then - actions
-Set accuire weapon[(player number of (trigging player)))] = 2
-else - actions
-Hero - drop (item being manipulated0 from 9hero manipulation item)
-Game - diplay to (player group( owner of (triggering unit)))) then text: Only One GUN!

TRIGGER 2
named: player drop gun

Events
- Unit - A unit loses an item

Conditions
-Or
-Conditions
- Item being manipulated = to item 1
- Item being manipulated = to item 2
- Item being manipulated = to item 3
- Item being manipulated = to item 4

Actions
- IF then do else do
-if -conditions
-accuireweapon(player number of9triggering player))) equal to 2
- then - actions
-set accuireweapon[((player number of (triggering player)))] = 0
-else - actions
- do nothing


So this works, until you pick up a gun, then you try to pick up another, and you drop the gun, but then you can pick up another gun and do it all over again, so in fact it doesn't really work.
__________________
Current WC3 projects (Updated March 08, 05):
---Resident Evil (i have a team working on it)
---Halo 2 Zombies (I have a team working on it)
Progress of RE:
Terrain ----- ||||||||||
Unit's -------- |||||||||||
Spell's/Ablities- |||||||||||
Trigger's ------|||||||||||
Item's----------|||||||||||
Progress of Halo 2:
Terrain ----- ||||||||||
Unit's -------- |||||||||||
Spell's/Ablities- |||||||||||
Trigger's ------|||||||||||
Item's----------|||||||||||
Red = went down
Blue = went up
Green = same

Last edited by JesusFreak; 07-13-2004 at 10:00 AM.
JesusFreak is offline   Reply With Quote
Old 07-18-2004, 06:15 AM   #4 (permalink)
BattleForums Addict
 
Darimus's Avatar
 
Join Date: Oct 2003
Posts: 681
Wait when you say 'in fact it doesn't really work' are you referring to what you wrote or what I wrote? Because what I wrote works.
Darimus is offline   Reply With Quote
Old 07-20-2004, 10:35 AM   #5 (permalink)
BattleForums Junior Member
 
JesusFreak's Avatar
 
Join Date: Apr 2004
Location: In a Box, on the side of the street
Posts: 124
do you mean check the inv, b/c i can't get that to work
__________________
Current WC3 projects (Updated March 08, 05):
---Resident Evil (i have a team working on it)
---Halo 2 Zombies (I have a team working on it)
Progress of RE:
Terrain ----- ||||||||||
Unit's -------- |||||||||||
Spell's/Ablities- |||||||||||
Trigger's ------|||||||||||
Item's----------|||||||||||
Progress of Halo 2:
Terrain ----- ||||||||||
Unit's -------- |||||||||||
Spell's/Ablities- |||||||||||
Trigger's ------|||||||||||
Item's----------|||||||||||
Red = went down
Blue = went up
Green = same
JesusFreak is offline   Reply With Quote
 
Reply

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

« Warcraft III: The War of Tortonus project is finally getting some where!!!lol | Ok! Need Serious Help! »

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



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