• 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.

[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

  • UGHPS 2.3.w3x
    121.7 KB · Views: 40
Level 11
Joined
Nov 15, 2007
Messages
800
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.
 

Deleted member 177737

D

Deleted member 177737

@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.
Top