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

Looking for help with a "building to unit" conversion system

Status
Not open for further replies.
Level 1
Joined
Dec 5, 2019
Messages
1
Evening ladies and gents!

I've recently picked up the world editor for Reforged after 10 years of neglect as I've started craving doing some custom maps again. I'm currently working on an autochess-esque gamemode that's taken a lot of inspiration from the "Battlegrounds" mode in Hearthstone.

My big issue at the moment is that I don't have a huge amount of experience with the trigger editor and I'm looking for a system akin to the one found in "Blood Tournament" and "Legion TD/HELLHALT TD" where you can place down a building (minion placeholder) that then turns in to an ACTUAL minion at certain events. In my case it would be when a new battle begins.

The way I have it set up is that I have 4 independent arenas with 2 regions each, and each player has an individual region where they can build their buildings (minion placeholders). I would like to have a system that can;

1. Scan a players building region
2. Save the buildings geographical location somehow
3. Scan amount of players still alive as to make sure no players minions gets spawned in an empty arena
4. If the amount of players is an odd number, make sure one player fights the last killed players army.
5. Spawn the minion counterparts to the buildings in the arena region (rotated either 90 or -90 degrees) in accordance to the previously saved geographical location
6. Have the minions attack move towards the enemy region
7. Check for win/loss/tie
8. If won/loss, figure out how many units are still alive, then deduct that amount from the the losing players health.

I know this is probably not the easiest thing in the world, and it truly is a big ask, but if someone would like to give a helping hand feel free to send me a reply! If you need clarification feel free to tell me as well, might be easier to relay what I'm trying to do over voice or screen share.

Much love!
Bloodweasel
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,910
Check out the links in my signature for Dynamic Indexing and Unit Indexer. These tools will help you store information like saving the buildings X,Y locations.

I'm about to go to sleep but I'll whip up an example map for you tomorrow. I'm not going to make everything for you but I'll help you get started in the right direction.
 
Status
Not open for further replies.
Top