Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2012-12-09 18:25        
     
OK, so I have a villa that I placed down using the game logic option in the editor. But for whatever reason I am not able to rotate the Villa.

This is what I have in the init section of the unit.

myBuilding = "Land_A_Villa_EP1" createVehicle position this; deleteVehicle this;

What am I doing wrong here gentlemen?


Author Message


Posts: 134
Rank:


Level: Member

Country: us
Location: Censored by Chuck Norris
Occupation: Why do you want to know? Stalker.....
Age: 115
In-game name: FuNKo1

 
#2 Posted at 2012-12-09 18:35        
     
When you spawn something, unless you use a command, it is by default set to have a direction of 0 degrees. You need to have a command to set it to the direction you want.
For example:

myBuilding = "Land_A_Villa_EP1" createVehicle position this; mybuilding setdir (getdir this);deleteVehicle this;

I Can't Think of a Creative Signature Right Now...

Advertisement


Author Message


Posts: 2
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2012-12-09 19:09        
     
Thanks alot bud. Got it working.






Tags: 2, Arma, Oa, Villa