Page 1 of 1

could not found expected ':'

PostPosted: Fri Jul 18, 2008 9:42 pm
by Inez Ryan
If anyone is familiar with the wiki "How to Make an Object Clickable" I would appreciate some assistance.

I have tried to use the code in this wiki as a template, but I when I try to export the age I get an error and the following appears in Blender's console:

yaml.Scanner.ScannerError: while scanning a simple key
in "<string>", line 10, column 1:
actClickableObject = ptAttribAct ...

could not found expected ':'
in "<string>", line 11, column 1:
strObject = ptAttribString(2, '0 ...

Presumably, I've left something out but I don't know what it could be. Line 11 is as follows -

strObject = ptAttribString(2, 'Object string')

I'm no programmer, just a dumb designer. Anyone got any ideas?
All assistance humbly received.

Thanks
Inez

Re: could not found expected ':'

PostPosted: Fri Jul 18, 2008 10:21 pm
by Tsar Hoikas
You've put the python in the AlcScript file. You'll need to create a file outside of blender for the python.

Re: could not found expected ':'

PostPosted: Sat Jul 19, 2008 12:55 am
by Inez Ryan
Thanks!