Script help.
11 posts • Page 1 of 1
Script help.
Hello... well my problem happens when i type in a script into the scripting menu ex; { scene.my.shift } and when i press Enter/Return the script acts like i pressed undo and it doesnt get entered into the menu for some reason... i need some help cause it is really getting on my nerves!!!
Epic
-
InsertNameHere - Posts: 60
- Joined: Tue May 27, 2014 11:31 pm
- Location: Claremore Oklahoma
Re: Script help.
Which box are you trying to put your script into?
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: Script help.
an oncollide script box is almost impossible to change it using a script menu
waiting for semester break to come...
-
faytree - Posts: 947
- Joined: Mon Nov 05, 2012 1:37 pm
- Location: Selangor, Malaysia
Re: Script help.
faytree wrote:an oncollide script box is almost impossible to change it using a script menu
no problem with that
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Script help.
InsertNameHere wrote:Hello... well my problem happens when i type in a script into the scripting menu ex; { scene.my.shift } and when i press Enter/Return the script acts like i pressed undo and it doesnt get entered into the menu for some reason... i need some help cause it is really getting on my nerves!!!
What exactly you trying to enter?
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Script help.
Hint, pop open the console using F10, and review any error messages.
If you're adding code into the onEvent sections, only add code between the two { }, otherwise Algodoo won't see the code as being valid, and will wipe the contents.
Algodoo is "smart" and undoes any invalid code edits in order to keep everything running as it was.
If you're adding code into the onEvent sections, only add code between the two { }, otherwise Algodoo won't see the code as being valid, and will wipe the contents.
Algodoo is "smart" and undoes any invalid code edits in order to keep everything running as it was.
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: Script help.
Kilinich wrote:faytree wrote:an oncollide script box is almost impossible to change it using a script menu
no problem with that
Uuh,no i mean that it's impossible to do this:
- Code: Select all
onCollide={scene.my.<VariableName>}
waiting for semester break to come...
-
faytree - Posts: 947
- Joined: Mon Nov 05, 2012 1:37 pm
- Location: Selangor, Malaysia
Re: Script help.
faytree wrote:Uuh,no i mean that it's impossible to do this:
- Code: Select all
onCollide={scene.my.<VariableName>}
actually, you could, but need to use (e) => {scenw.my.var} construction...
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
11 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests