Question
Passing values from mc to mc/instance to instance
Ive made a new topic for this cos the last one went wildly
off-topic...
Im trying to use info from the soldier instance to set up bullets he fires.
Each new bullet wants to be its own instance/mc whatever. Thing is that I cant get the info out of _root.soldier and into _root.bulletX (where X is an arbitary value)
there is code in the bullet onClipEvent(load) like
this._rotation = soldier1._rotation;
Which by the looks of some traces Ive done just gives soldier._rotation as undefined.
How can I pass a value out of soldier to use here?
Im trying to use info from the soldier instance to set up bullets he fires.
Each new bullet wants to be its own instance/mc whatever. Thing is that I cant get the info out of _root.soldier and into _root.bulletX (where X is an arbitary value)
there is code in the bullet onClipEvent(load) like
this._rotation = soldier1._rotation;
Which by the looks of some traces Ive done just gives soldier._rotation as undefined.
How can I pass a value out of soldier to use here?
