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

[Trigger] Proper Indexing

Status
Not open for further replies.
Level 11
Joined
Aug 24, 2009
Messages
706
I was revamping my squad system to index squads by player rather than by putting them all in one index for all players. I ran into some problems as the indexing was overwriting squads owned by players that were not the most recent player that created the squad. Also removing dead squads doesn't work either. Where has my indexing gone wrong in this?

This is for registering the squad leader
5d6f7dd3c7957b5b7f36fdd638b09ddf.png


This is when the squad dies
99a3b9267ca8d2aa141d0990a120133b.png
 
Status
Not open for further replies.
Top