OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Brandon on 14 Mar 2007, 16:39:05
-
When I use camera.sqs I always get errors when I used a (red) targeted object in a camera script. When I have a targeted location I don't get the error. Is this just me? What does one do to get around this?
-
Haven't had any problems with this so I'm going to reproduce it and look for the solution. Expect an answer from me this evening or maybe tomorrow depends on how long studying Genetics will take.
-
I appreciate it :cool2:
-
Indeed, there is an error coming up. Seems like that BIS hasn't tested this. The problem is that the code returns something like: WEST 1-1-B:1 whereas a unit / object should be named like unit1. This might be caused by the streaming technology used by the engine (also prevents the usage of the command object, that's why it has been disabled in ArmA).
The solution? Give the object a name and replace the WEST 1-1.. with the name. So if you've got a unit1, change it to:
_camera camPrepareTarget unit1
And don't forget to report this as a bug, because I think it is (might miss something, tried deleting the ' and ' / replaced them, but both didn't help).
-
also prevents the usage of the command object
This command has been disabled in ArmA, it is no longer relevant, as far as ArmA is concerned it is obsolete.
Planck
-
Thanks guys. Knew I could count on ya. :good: