Moved trigger creation to onstart script
This commit is contained in:
parent
66aa65e827
commit
be0f09a828
@ -1,4 +1,6 @@
|
||||
void onStart()
|
||||
{
|
||||
|
||||
Vec3 created = Vec3(0.0, 0.0, 0.0);
|
||||
printVec3(created);
|
||||
createTrigger("added_script", created , 30.0); //name,x,y,z,trigger distance
|
||||
}
|
||||
|
@ -15,10 +15,8 @@ void tutorial_bananas()
|
||||
{
|
||||
displayMessage("Bananas! Bananas! Everywhere!");
|
||||
squashKart(0,35.0); //id of kart,time to squash
|
||||
//teleportKart(0, 0, 0 ,0); //id of kart, x,y,z
|
||||
//setVelocity(0, 5, 50 , 8); //id of kart, velocity //components x,y,z
|
||||
jumpKartTo(0, 0, 0); //id of kart, target x,y
|
||||
createTrigger("added_script",0,0,0,30.0); //name,x,y,z,trigger distance
|
||||
//teleportKart(0, Vec3(0,0,0)); //id of kart, x,y,z
|
||||
//setVelocity(0, Vec3(5, 50 , 8)); //id of kart, velocity //components x,y,z
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user