So, I have an instance where I'm spawning in objects with the SpawnObjectTrigger and I need to destroy these objects after a given time.
So in this instance I'm using SteamSpawners. The function when started should find all the SteamSpawners and bind them to the DestroyObjects "array". When the timer trigger finishes it will trigger the destroy function.
I know a bit of C++ but I'm only doing single source code type projects. The tutorials have been helpful but don't exactly go into binding objects to an array-style variable (I'm probably not even using the right terminology... :/ )
Thanks for any and all help!
This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk
Forum rules
Forum rules
Setting a spesific tile to be assigned to the DestroyTrigger
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- TheOriginalCj
- Moderator

- Posts: 177
- Joined: Tue Mar 15, 2016 10:28 pm
- Title: Lifetime Sentence to SF Wiki
- SFD Alias: RedneckJed
- Started SFD: PreAlpha 1.1.0
- Location: USA
- Gender:
- Contact:
Setting a spesific tile to be assigned to the DestroyTrigger
0 x
Superfighters Wiki Founder
The Superfighters Wiki
Join the Wiki!
The Superfighters Wiki
Join the Wiki!
Danger Ross wrote: What are you doing here wiki-slave?! GET BACK TO WORK!
- Gurt
- Lead Programmer

- Posts: 1887
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 36
You will need to do some scripting. After SpawnObjectTrigger spawns an object you want to set a specific CustomID to that object. You can then grab all objects with a specific CustomID and destroy them all.
I don't have time for an in-depth example so check out viewforum.php?f=22 to get started. At viewtopic.php?f=22&t=67 you can see an example destroying all objects with a specific CustomID.
I don't have time for an in-depth example so check out viewforum.php?f=22 to get started. At viewtopic.php?f=22&t=67 you can see an example destroying all objects with a specific CustomID.
0 x
Gurt