Home   Help Search Login Register  

Author Topic: placing 2objects together while using placement radius?  (Read 1207 times)

0 Members and 1 Guest are viewing this topic.

Offline dematti

  • Members
  • *
hi,

We all understand the function of placement radius.
But how can i place 2objects or more in a radius of lets say 1000m but still keep the 2objects close to each other?
The goal is randomly placing an enemy camp on a very large map. the radius i need to set is about 20000m.

Thanx

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: placing 2objects together while using placement radius?
« Reply #1 on: 31 Aug 2007, 19:21:27 »
u place 1 of em nd give it the placement radius thingy...

in its init u use da setpos comand like dat

(init of randomly placed unit) : 2ndobjname setpos (this modeltoworld [0,0,0])

u can change da model 2 world thingy 2 suit ur needs :D

LCD OUT

P.S

WELCOME 2 OFPEC M8
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline dematti

  • Members
  • *
Re: placing 2objects together while using placement radius?
« Reply #2 on: 31 Aug 2007, 20:32:11 »
thanx for fast reply
Problem solved
see ya

edit: the island is hilly and the objects are under and above ground
is there a way to set them on the ground without changing the height in the init?
« Last Edit: 31 Aug 2007, 21:06:33 by dematti »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: placing 2objects together while using placement radius?
« Reply #3 on: 31 Aug 2007, 21:21:40 »
u got tents nd stuff like dat ? kinda hard when it comes 2 hily terain...

try addin in da init a setpos command dat leavs it inplace but sets da high 2 0... not sure itll work tho...

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta