OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Polymorphism on 20 Apr 2003, 20:42:58
-
When you are scripting cameras how do you make it, lets say, "you want a sniper to look through his scope and you want the viewers to look through it also." How would you do that? What's the command you use for that?
-
switchcamera
there's a tutorial somewhere
-
cutRsc effect
Operand types:
effect: Array
Type of returned value:
Nothing
Description:
Resource background - argument in format ["name","type", speed] or ["name","type"] If speed is not given, it is assumed one. Resource can be defined in description.ext.
Example:
cutRsc ["binocular", "PLAIN"]
I'm not sure what cutrsc's BIS has included, but there's at least the binocular, tv and dragunov.
Try searching the forums and the faq.. and they are bound to be in the snYpirs camera tutorial.
-
Hm, how about to use a picture? ThatÂ'll work for sure... 8)