OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: McFinnish on 16 Oct 2003, 22:08:10

Title: More help...
Post by: McFinnish on 16 Oct 2003, 22:08:10
I'am still noob in this things :-\
I just couldn't get this work. Could somebody please tell me what is wrong with this script:
Code: [Select]
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]

_cam camsettarget officer
_cam camsetrelpos [3,3,3]
_cam camcommit 0
@camcommited _cam

~2

titlecut ["Snypa Productions present","PLAIN",3]

~1

_cam camsetrelpos [5,4,10]
_cam camcommit 3
@cam commited _cam

~2

titlecut ["from original idea by Eizei", "PLAIN"3]

~1

_cam camsettarget UAZ
_cam camsetrelpos [1,1,1]
_cam camcommit 3
@camcommited _cam

_cam cameraeffect ["terminate", "back"]
camdestroy _cam

exit
Title: Re:More help...
Post by: dmakatra on 16 Oct 2003, 22:10:22
I see no errors when looking at it directly, could you tell us more exactly what it is not working?

:beat: *Gets Shot* :beat:
Title: Re:More help...
Post by: m21man on 16 Oct 2003, 23:00:20
I believe that in BIS grammar it's camcommitted, not camcommited :P .

For instance:
Code: [Select]
@camcommited _cam BAD, won't work.

Code: [Select]
@camcommitted _cam GOOD, should work.