OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: WizzyWig on 08 Jun 2003, 03:16:54

Title: camcreat help!!
Post by: WizzyWig on 08 Jun 2003, 03:16:54
ok im makeing a build city script i can work out how to script the camcreate to turn the building around from:

:building first normal:

    l
    l
    l--->
    l
    l

:how i would like to camcreate to place building:

       l
       l
<--- l
       l
       l


My camcreat script looks like this to creat the building


unitid="building name" camcreate [_x -0, _y -0, _z -0]

so how do i spin the building around?


thanks!!
Title: Re:camcreat help!!
Post by: Mujahedeen on 08 Jun 2003, 04:39:20
Hi!

You could use:

Code: [Select]
unitid setdir 180
where 180 can be any number from 0 to 360...

cheers...
Title: Re:camcreat help!!
Post by: WizzyWig on 08 Jun 2003, 14:09:15
thanks o yer is there a way to spin the other way
Title: Re:camcreat help!!
Post by: Planck on 08 Jun 2003, 20:34:39
Other way?

Is there any more ways once you have covered all 360 degrees?

Planck