• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] A strange bug...

Status
Not open for further replies.

Deleted member 177737

D

Deleted member 177737

Hey, I'm currently working on a hero selection system and I've encountered a strange bug that shoulden't be happening.
When I cycle from the priest to the spellbreaker hero and then cycle back to the priest it cycles to the sorceress which should only happen when clicking the arrow other arrow button.

You can reproduce the error by entering the game, clicking the arrow on the right, and then clicking the arrow on the left. The error (as far as my tests show) only starts when you cycle from hero 2 to hero 1.

Priest = Hero 1
Spellbreaker = Hero 2
Sorceress = Hero 3


Its somewhat confusing for me to explain and I'm not sure which triggers to post so I've uploaded the whole map below.

*Important*: I'm using Kobas' hero system map as a base (all triggers have been deleted) just so I woulden't need to import and create all of the interface doodads. I will be asking permission to use his map as a base if I decide to upload the system.
 

Attachments

When you cycle the hero forward or backwards, you turn off/on the appropriate switches in that direction, but not in the other direction. When you cycle from 1 to 2, for example, you need to not only turn off 1 to 2 and turn on 2 to 3, but also turn off 1 to 3 and turn on 2 to 1.
 
@Meticulous Can't believe I forgot that... The system seems to be working properly now, hopefully that solved it.

@Maker Thanks for the tip

*Added both of you to the credits
 
Status
Not open for further replies.
Back
Top