HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cant drop item.

06-04-2006, 12:04 AM#1
n13astra
New problem, odd one at that too.

Basically, i create a custom item, which is charged. No matter what item i base it on, this still happens.

Anyways, i make the custom item, eg "heal" but leave it completely the same as the item it was based from.

In game, when i purchase 3 of them i am still able to drop/sell them, but if i use one i can no longer drop./sell them. WC comes up with "cant drop this item"

I also tried copying an item which was charged and working, renamed it and again in game the same problem.

Help??
06-04-2006, 02:11 AM#2
MysticGeneral
Did you try giving the unit the original item and see if you still get the same problem?
06-04-2006, 02:23 AM#3
shadow1500
There's probably a trigger that makes the item undroppable when you use it.
06-04-2006, 04:56 AM#4
n13astra
can someone have a look if i send them the map, ive tried everything i can think of and still no luck
06-04-2006, 09:16 AM#5
Blade.dk
You can attach the map to a post here.
06-04-2006, 11:54 AM#6
The)TideHunter(
This trigger should make all your item of that type droppable when you have 4 or more, remember to change 'Your Item' to your actual item.

Trigger:
Make Item Droppable
Collapse Events
Unit - A unit Acquires an item
Conditions
Collapse Actions
Custom script: local integer i = 0
Collapse For each (Integer A) from 1 to 6, do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to 'Your Item'
Collapse Then - Actions
Custom script: set i = i + 1
Else - Actions
Custom script: if(i >= 4) then
For each (Integer A) from 1 to 6, do (If ((Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to 'Your Item') then do (Item - Make (Item carried by (Hero manipulating item) in slot (Integer A)) Droppable) else do (Do nothing))
Custom script: endif