OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: IFB-ENIAC on 14 May 2004, 13:05:19

Title: object in water or not?
Post by: IFB-ENIAC on 14 May 2004, 13:05:19
Im working on a Command and Conquer 2 mod for OPF
Most building are ready now (except the texture --> Searching for texturer),
i have also made a builmenu and so on but my problem is that i dont want the buildings to be build in the water!!!!!

How can I controll wether the building i'm about to build is in the water or not???

P.S.:
Falls ihr deutsch könnt wär dat auch ganz gut ;)
Title: Re:object in water or not?
Post by: spawn raper on 14 May 2004, 18:56:02
erm well you could put a series of game logics or invisable objects round the water, and in your build script make it so you cannot build unless you are a certian distance away from them.
Title: Re:object in water or not?
Post by: Blanco on 14 May 2004, 20:41:52
maybe this can help...

http://www.ofpec.com/editors/funcref.php?letter=O