Browse Search Popular Register Upload Rules User list Login:
Search:
Scripting Help

Image:
screenshot of the scene

Author: DarkNova

Group: Default

Filesize: 74.08 kB

Date added: 2014-11-04

Rating: 5

Downloads: 545

Views: 354

Comments: 5

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

What the text box says...

I'll try to make a plane that drops off the bomb after the question is answered...
Last edited at 2014/11/04 20:57:59 by DarkNova
Please log in to rate this scene
edit
Similar scenes
Title: Scripting Tests
Rating: 5.625
Filesize: 88.06 kB
Downloads: 705
Comments: 2
Ratings: 2
Date added: 2010/01/10 00:18:46
Made with: Algodoo before v1.8.5
Rating: rated 5.6
download
Title: Water maker scripting
Rating: 5
Filesize: 59.54 kB
Downloads: 694
Comments: 0
Ratings: 1
Date added: 2012/03/03 17:12:51
Made with: Algodoo v2.0.1
Rating: rated 5
download
Title: Scripting fault!
Rating: 5
Filesize: 14.86 kB
Downloads: 344
Comments: 1
Ratings: 1
Date added: 2014/10/24 15:52:33
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: ALGOODO SCRIPTING GUIDE (ENG)
Rating: 4.5
Filesize: 384.84 kB
Downloads: 492
Comments: 6
Ratings: 2
Date added: 2014/04/26 23:11:38
Made with: Algodoo v2.1.0
Rating: rated 4.5
download
Title: Helicarter *no scripting but have some controls*
Rating: 5
Filesize: 301.24 kB
Downloads: 222
Comments: 0
Ratings: 1
Date added: 2016/02/07 03:37:25
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Ball counter, scripting SICK!!!!!!!
Rating: 7.3077
Filesize: 314.4 kB
Downloads: 1722
Comments: 2
Ratings: 7
Date added: 2009/09/03 09:54:02
Made with: Phun
Rating: rated 7.3
download
You can spawn any object this way:
1. Select the object you want to spawn.
2. While the object is highlighted, press Ctrl-C keys (copy).
3. Go into script menu of the spawn generator object (in this case it's the circle that gets bumped by the box).
4. In the onCollide script area: (e)=>{add script here} place your cursor between the curly brackets (where I wrote "add script here") and press Ctrl-V (Paste). If there is other script already in that spot, delete it first.

That's it! Each time the box collides with the circle, another object will spawn in the original x/y position. You can make the objects spawn in different positions, but that requires that you modify the pos x and y positions.
Just wanted to say exactly the same thing. Found that way of scripting by random, and it's very usefull for quickly scripting 1 or multiple things with many attributes
@Xray Thanks for the help!:)
For some reason it doesn't spawn properly... Whenever the bomb goes off the ball doesn't go up but just stays and when it blows up the tracers don't go off like the first model.
Now you need to take off your "design hat" and put on your "debugging hat"! :)