I have a lot of object in my BGE environment. I can select them easily by using regular expression. All of them, also have action with specific name, too.
Now I want to add them to my game, by python script. Is there any way to add actuator, controller and set action programmatically?
$\begingroup$
$\endgroup$
7
-
$\begingroup$ Is it possible?? $\endgroup$– paradisal programmerSep 13, 2014 at 8:43
-
1$\begingroup$ Yes see: blender.stackexchange.com/questions/2206/… $\endgroup$– stackerSep 13, 2014 at 10:10
-
$\begingroup$ My main problem is about adding action actuator. I don't know how to do that. $\endgroup$– paradisal programmerSep 13, 2014 at 15:30
-
$\begingroup$ I didn't see any code example about that. $\endgroup$– paradisal programmerSep 13, 2014 at 15:32
-
1$\begingroup$ I've added an actuator example to the previous question recommended by @stacker $\endgroup$– samblerSep 14, 2014 at 5:09
|
Show 2 more comments