I'm having a hard time wording this question to make it clear, so I'll give out an example to hopefully help. I've created a record to store all items that are dropped by units when they die. I can fill the data in this record easily by just making a trigger that fires upon any unit's death.
The thing I haven't been able to figure out so far, is how I fill the record with the data of items that are preloaded in the scene as well. Is there a way to search through all of the items/units that are currently placed in the scene? Or am I doomed to have to manually fill the record data every time I want to have an item in the scene, with out having it dropped by an enemy.
Any help on this would be greatly appreciated!
-Orothin
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm having a hard time wording this question to make it clear, so I'll give out an example to hopefully help. I've created a record to store all items that are dropped by units when they die. I can fill the data in this record easily by just making a trigger that fires upon any unit's death.
The thing I haven't been able to figure out so far, is how I fill the record with the data of items that are preloaded in the scene as well. Is there a way to search through all of the items/units that are currently placed in the scene? Or am I doomed to have to manually fill the record data every time I want to have an item in the scene, with out having it dropped by an enemy.
Any help on this would be greatly appreciated!
-Orothin