OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Polymorphism on 20 Apr 2003, 20:42:58

Title: can someone help me???
Post 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?
Title: Re:can someone help me???
Post by: macguba on 20 Apr 2003, 20:47:36
switchcamera

there's a tutorial somewhere
Title: Re:can someone help me???
Post by: Artak on 22 Apr 2003, 09:52:48
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.
Title: Hm...
Post by: GreyFox on 25 Apr 2003, 10:46:54
Hm, how about to use a picture? ThatÂ'll work for sure... 8)