FF OPEN trigger

JesusFreak

Member!
Joined
Apr 12, 2004
Messages
124
Reaction score
0
Location
In a Box, on the side of the street
Website
Visit site
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?
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
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
 

JesusFreak

Member!
Joined
Apr 12, 2004
Messages
124
Reaction score
0
Location
In a Box, on the side of the street
Website
Visit site
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.
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
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.
 

JesusFreak

Member!
Joined
Apr 12, 2004
Messages
124
Reaction score
0
Location
In a Box, on the side of the street
Website
Visit site
do you mean check the inv, b/c i can't get that to work
 

New threads

Top