Forum Jump :

Author Message


Posts: 4
Rank:


Level: Member

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

 
#1 Posted at 2014-07-08 00:32        
     
Hi
I'm a aspiring scripter and mission creator :)
I know how to make objects float, using
this setPosATL (this modelToWorld[0,0,0]); this setUnitPos "up";   this forceSpeed 0;
and blablabla
I'm trying to make a base on the ocean by using a container-floor thing.
But the thing is the container doesn't float in air, it falls as soon as it spanws.
Any idea on what I should do to either stop this or to find an alternative?
Thanks in advance,
Cheers
Edit: This solved it for anyone with this issue :D

This post was edited by Arched (2014-07-08 04:18, ago)


Author Message

Melky  



Posts: 6
Rank:


Level: Member

Country: br
Location: São Paulo
Occupation: VIP Security
Age: 29
In-game name: Melky

 
#2 Posted at 2014-07-11 00:49        
     
You jus need this, this setPos [getPos this select 0, getPos this select 1, 1.0]; this setdir 180;

this works for me perfectly good luck

This post was edited by Melky (2014-07-11 01:50, ago)