OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bad_fingers on 18 Sep 2005, 02:12:50

Title: following moving objects
Post by: bad_fingers on 18 Sep 2005, 02:12:50
Simply put i cant get my cam script to work .

i want to set the cam position in front of my moving motorcycle as its moving down the road while on target of the bike.  
Title: Re:following moving objects
Post by: bored_onion on 18 Sep 2005, 11:10:57
please post the script you are using currently so that we can help with the fine detail. one thing i can suggest for now is inserting a loop so that the camera moves with the bike.

Code: [Select]
;camera scripting
#loop
;camcommit command
goto "loop"

thats the jist. experiment with loops.
Title: Re:following moving objects
Post by: 456820 on 19 Sep 2005, 19:37:09
or you could use Blanco's LogicCam found in the editors depot sorry i dont have a link