I have a situation were I have two colliding bodies and I need to create another based upon that collision.
Creating a new actor is simple using something like the below code:
CreateActor("MyActor", "MyActor", "view", "(none)", x, y, false);
The difficultly I am encountering is that I need to be able to access some of the variables in the newly made actor based upon the data from the two colliding actors.
In other words, in the collision event handling script I need to:
1. Create a new actor.
2. modify some of it’s actor variable contents based upon values from the two colliding actor’s variables.
How do I reference these variables?
Hopefully I’ve made myself clear.