louis_9300
New Member
- Reaction score
- 3
why sometimes when i upgrade a tower A into another tower B, the tower will just disappeared,and my builder canot build tower A anymore .. what bug is that ?
Never heard of anything like this.. I'm guessing there is some triggering bug or map corruption.
something like that would only happen from a faulty trigger. (i assume) post any triggers related to upgrading?
Trigger Casting Unit VD
Events
Unit - A unit Begins casting an ability
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Packup [VD]
Then - Actions
Unit - Remove (Casting unit) from the game
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
Item - Create Virus Deleter at (Position of (Casting unit))
Else - Actions
Do nothing
Tower 1
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Hero manipulating item)) Equal to FIRE
(Unit-type of (Hero manipulating item)) Equal to ICE
(Unit-type of (Hero manipulating item)) Equal to WIND
(Unit-type of (Hero manipulating item)) Equal to COLD
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to VD
Then - Actions
Item - Remove (Item being manipulated)
Item - Create VD at (Position of (Hero manipulating item))
Else - Actions
Do nothing
why did you put the conditions under event
then make action with
if all the conditions are true and stuff
Hero - Drop (Item being manipulated) from (Triggering unit)
Trigger Casting Unit VD
Events
Unit - A unit Begins casting an ability
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Packup [VD]
Then - Actions
Unit - Remove (Casting unit) from the game
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
Item - Create Virus Deleter at (Position of (Casting unit))
Else - Actions
Do nothing
Trigger Casting Unit VD
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Packup [VD]
Actions
Unit - Remove (Casting unit) from the game
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
Item - Create Virus Deleter at (Position of (Casting unit))
that triggers seem wierd...
first you create an item on the location of the tower. and as soon as a hero picks up that item, you remove it and recreate it, why not force the hero to drop it?
Code:Hero - Drop (Item being manipulated) from (Triggering unit)
you also might wanna changeCode:Trigger Casting Unit VD Events Unit - A unit Begins casting an ability Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Ability being cast) Equal to Packup [VD] Then - Actions Unit - Remove (Casting unit) from the game Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl Item - Create Virus Deleter at (Position of (Casting unit)) Else - Actions Do nothing
into
Code:Trigger Casting Unit VD Events Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Packup [VD] Actions Unit - Remove (Casting unit) from the game Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl Item - Create Virus Deleter at (Position of (Casting unit))
Hero - Drop (Item being manipulated) from (Triggering unit)
Tower 1
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Hero manipulating item)) Equal to |cff995500 A
(Unit-type of (Hero manipulating item)) Equal to |cff995500 B
(Unit-type of (Hero manipulating item)) Equal to |cff995500 C
(Unit-type of (Hero manipulating item)) Equal to |cffff0000 D
(Unit-type of (Hero manipulating item)) Equal to |cffff0000 E
Actions
Hero - Drop (Item being manipulated) from (Triggering unit)
well we cannot help you with the information you gave us. i dont know any bug which could do something like this and if you say there aint triggers which could cause it i cannot tell you more then this:
upload your map and maybe we can help you or try to give us all information you can.