Camera error

*knock knock*
Heyho, it's me again.
Today I tried first time creating two camera regions with using Alcscript. But I can't export the age caused of an error in the script that I don't understand. I used a code that I've found in the forum.
May someone please help me?
the script:
The export error says:
(must be within the camera code) What the hell does blender want from me??
If you want to be very pretty please change the code for Camera_Turm1 to a fixed camera. I don't wanna make any errors again.
Thank you very much!
Cheers, Jonnee
PS: Do I still have to add an object property like "string: regiontype camera" etc to the region object? I could not find an easy step by step tutorial.
Heyho, it's me again.

Today I tried first time creating two camera regions with using Alcscript. But I can't export the age caused of an error in the script that I don't understand. I used a code that I've found in the forum.
May someone please help me?
the script:
- Code: Select all
rgn_Camera_Turm1
region:
type: camera
camera:
messages:
- newcam: Camera_Turm1
Camera_Turm1:
camera:
brain:
type: avatar:
xpanlimit: 1
ypanlimit: 1
zpanlimit: 1
poa: 0,0,6
offset: 0,6,6
flags:
- followlocalavatar
- maintainLOS
rgn_Camera_Turm2
region:
type: camera
camera:
messages:
- newcam: Camera_Turm2
Camera_Turm2:
camera:
brain:
type: avatar:
xpanlimit: 1
ypanlimit: 1
zpanlimit: 1
poa: 0,0,6
offset: 0,6,6
flags:
- followlocalavatar
- maintainLOS
The export error says:
- Code: Select all
"could not found expected ´:´
in "<string >", line 268, column 11:
region:
^
(must be within the camera code) What the hell does blender want from me??

If you want to be very pretty please change the code for Camera_Turm1 to a fixed camera. I don't wanna make any errors again.

Thank you very much!
Cheers, Jonnee
PS: Do I still have to add an object property like "string: regiontype camera" etc to the region object? I could not find an easy step by step tutorial.