0
$\begingroup$
import bge 
import bpy

scene = bge.logic.getCurrentScene()

ob = bge.logic.getCurrentController().owner

ob1 = scene.addObject("stone",ob)

ob2 = scene.addObject("twin",ob)
$\endgroup$

1 Answer 1

0
$\begingroup$

Its hard to tell if that's the optimal solution, but a "time function" in python can be summoned using the following commands:

import time
time.sleep(2)  # argument in seconds, int or float

The above function instructs the computer to wait idly for the determined amount of seconds.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .