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: 336

Views: 280

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: 522
Comments: 7
Ratings: 1
Date added: 2021/11/18 23:36:50
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Southeast Asia 1444 (New script)
Rating: 5
Filesize: 107.43 kB
Downloads: 2533
Comments: 2
Ratings: 1
Date added: 2020/07/09 10:06:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: script COLLECTION
Rating: 8.25
Filesize: 1.12 MB
Downloads: 5326
Comments: 12
Ratings: 14
Date added: 2019/03/28 18:42:29
Made with: Algodoo v2.1.0
Rating: rated 8.3
download
Title: Mounted Minigun (PHUN ONLY)
Rating: 5.8889
Filesize: 57.57 kB
Downloads: 2338
Comments: 13
Ratings: 3
Date added: 2009/11/29 06:22:18
Made with: Phun
Rating: rated 5.9
download
Title: For Neon-IX
Rating: 5
Filesize: 16.3 kB
Downloads: 1006
Comments: 10
Ratings: 1
Date added: 2013/11/08 01:01:52
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Ball mix
Rating: 5
Filesize: 36.32 kB
Downloads: 622
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.