Search found 1 match

by seeeker
Fri Jul 13, 2012 7:24 am
Forum: Python
Topic: Add game property to selected objects.
Replies: 0
Views: 474

Add game property to selected objects.

I would like to add a specific game property to all objects selected. The only way to add it that I see is to use: bpy.ops.object.game_property_new() which cannot be used in an scenario like: for obj in bpy.context.selected_objects ... obj.game_property_new(...) ... Can anyone throw me a hint? thanks!