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

Views: 210

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: 464
Comments: 7
Ratings: 1
Date added: 2021/11/18 23:36:50
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Phunlet Safe Time-Delay Bomb
Rating: 5
Filesize: 56.21 kB
Downloads: 424
Comments: 0
Ratings: 1
Date added: 2011/03/26 19:17:55
Made with: Algodoo Phunlet
Rating: rated 5
download
Title: Southeast Asia 1444 (New script)
Rating: 5
Filesize: 107.43 kB
Downloads: 2435
Comments: 2
Ratings: 1
Date added: 2020/07/09 10:06:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Mounted Minigun (PHUN ONLY)
Rating: 5.8889
Filesize: 57.57 kB
Downloads: 2267
Comments: 13
Ratings: 3
Date added: 2009/11/29 06:22:18
Made with: Phun
Rating: rated 5.9
download
Title: Script simple Mine (Mina de script)
Rating: 4.8889
Filesize: 0.51 MB
Downloads: 809
Comments: 3
Ratings: 3
Date added: 2009/09/08 18:13:26
Made with: Algodoo before v1.8.5
Rating: rated 4.9
download
Title: eat script demonstration
Rating: 5
Filesize: 18.04 kB
Downloads: 500
Comments: 3
Ratings: 1
Date added: 2017/09/13 21:25:09
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.