HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Capture the Flag

12-02-2004, 09:32 PM#1
Limb_Smasher
Ok I've tried many ways to get this ctf thing working but it never does. Is there some way of making so that the hero cannot pick up an item unless their inventory is completely empty?
12-02-2004, 09:44 PM#2
iNfraNe
take an event

Unit acquires an item

conditions:

unit is a hero = true

actions

if
item in slot 1 = no item
item in slot 2 = no item
item in slot 3 = no item
item in slot 4 = no item
item in slot 5 = no item
item in slot 6 = no item
then
do nothing
else
unit drop item.

Or u could just give him an inventory with 1 slot?
12-03-2004, 03:44 AM#3
Arohk
Quote:
Originally Posted by toot
take an event

Unit acquires an item

conditions:

unit is a hero = true

actions

if
item in slot 1 = no item
item in slot 2 = no item
item in slot 3 = no item
item in slot 4 = no item
item in slot 5 = no item
item in slot 6 = no item
then
do nothing
else
unit drop item.


lol that cant work, see... if the hero takes the item, he have 1 item in slot before the actions run ;)
12-03-2004, 10:30 AM#4
iNfraNe
Quote:
Originally Posted by Arohk
lol that cant work, see... if the hero takes the item, he have 1 item in slot before the actions run ;)
oh right :P then just add the and condition and item in slot is not item being manipulated