Browse Search Popular Register Upload Rules User list Login:
Search:
Script deleting myself!

Image:
screenshot of the scene

Author: Pootis-Man

Group: Default

Filesize: 26.45 kB

Date added: 2016-07-16

Rating: 5

Downloads: 280

Views: 208

Comments: 2

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Im trying to type scene.my.variables.

And I typed { scene.my.motor } on hinge and it doesn't work.

Why script thinks its an error?
Please log in to rate this scene
edit
Similar scenes
Title: Experimental: Anti-copy code 2.0
Rating: 5
Filesize: 41.41 kB
Downloads: 461
Comments: 7
Ratings: 1
Date added: 2021/11/18 23:36:50
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: a phun game lvl 1
Rating: 7.8235
Filesize: 283.73 kB
Downloads: 761
Comments: 6
Ratings: 17
Date added: 2008/10/28 01:17:04
Made with: Phun
Rating: rated 7.8
download
Title: script COLLECTION
Rating: 8.25
Filesize: 1.12 MB
Downloads: 5114
Comments: 12
Ratings: 14
Date added: 2019/03/28 18:42:29
Made with: Algodoo v2.1.0
Rating: rated 8.3
download
Title: For Neon-IX
Rating: 5
Filesize: 16.3 kB
Downloads: 922
Comments: 10
Ratings: 1
Date added: 2013/11/08 01:01:52
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: eat script demonstration
Rating: 5
Filesize: 18.04 kB
Downloads: 494
Comments: 3
Ratings: 1
Date added: 2017/09/13 21:25:09
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Ball mix
Rating: 5
Filesize: 36.32 kB
Downloads: 545
Comments: 4
Ratings: 1
Date added: 2016/02/13 03:46:10
Made with: Algodoo v2.1.0
Rating: rated 5
download
Because it needs to be on the block, I think...
first of all, scene.my.motor=scene.my.motor=true makse no sense. If you do sth. only do scene.my.motor=true. There's no need to selfassign a variable. Second of all, you need to open the console(f10) and initialize the variable so that it wont break. so write ni the console scene.my.motor = false;
then you can type {scene.my.motor} in the motor field of your hinge. If the variable is not assigned in the console, what is algodoo supposed to give the hinge? That's why the code breaks at that instance.