Help calling characters from different scenes

I have been working on a rpg game for a while now. And I have a problem. In my game I want the character to summon characters off screen and have them follow the player around I tried doing this with the add object actuator. But the characters I summon aren’t detected by the steering actuator. Is there a way store characters of screen and then summon them in Blender?

Hello . Is there somthing like yhis you are looking for? http://www.pasteall.org/blend/32211 ?

Thank you but this isn’t what I’m looking for. What I’m trying to do is add a character into a scene and then have enemies attack it. But the steering actuator isn’t working properly on a character that is added using the add actuator.

Here is an example of what I’m talking about.

http://www.pasteall.org/blend/32212

when you add the object use

added=scene.addObject(‘your object’, placement,time)

then send the data to the other object

object[‘target’]=added

otherwise you’re looking for the ‘first’ object on the hidden layer.

then have

if target changed-----------------Python-----------------steering actuator
if target not equal empty-------/

edit: I guess if you recast target from string to empty, it does not trigger changed, so I added a value I change instead

note: screencasting tripled my logic usage time

Attachments

steerToAddedLeanLogicUsage.blend (488 KB)

Wow thanks this really helps alot.

No problem :smiley:

Happy Blending