Sorry, this is sort of a strange problem. So I have a trigger where an actor is created (a splat) whenever a building has completed construction. The problem is, I had to disable the Actor Orphan - Destroy event in the actor events for this splat in order for this trigger to work. I need to have this actor created with this trigger, not with data.
So my problem is then, when the building dies, how do I get rid of the splat?
I know of an option, but I'm unsure if you'd like it.
What you could do is create and store the splat as it's own actor, using triggers, and then update it's position if the building moves. You can then remove the actor using triggers when the condition you're looking for is met; ie, death of the original building. I'd recommend a Function for this that takes the parameters of the building, newly created actor, and whatever else you might need. Good luck!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Sorry, this is sort of a strange problem. So I have a trigger where an actor is created (a splat) whenever a building has completed construction. The problem is, I had to disable the Actor Orphan - Destroy event in the actor events for this splat in order for this trigger to work. I need to have this actor created with this trigger, not with data.
So my problem is then, when the building dies, how do I get rid of the splat?
I know of an option, but I'm unsure if you'd like it. What you could do is create and store the splat as it's own actor, using triggers, and then update it's position if the building moves. You can then remove the actor using triggers when the condition you're looking for is met; ie, death of the original building. I'd recommend a Function for this that takes the parameters of the building, newly created actor, and whatever else you might need. Good luck!