Rotate Object

Started by PsyChO_KiLLeR, Mar 02, 2015, 08:19 AM

Previous topic - Next topic

PsyChO_KiLLeR

Description: Well I am facing problem i add objects on my server but there angel/rotation are not change how to change their angel/rotation

ScreenShot:





EK.IceFlake

CreateObject(something).RotateToEuler(angle[int], 0);
Hope this helps

Sebastian

Quote from: NE.CrystalBlue on Mar 02, 2015, 11:56 AMCreateObject(something).RotateToEuler(angle[int], 0);
Hope this helps

Nope, it doesn't help that much.
What's with the angle[int] ? ...

The function is like this, Psycho_Killer:
object.RotateToEuler( Vector( x, y, z ), time );
object = instance
x,y,z = rotation
time = the time needed to rotate it. ( use 0 if you want it instantly )

PsyChO_KiLLeR

#3
is their any key to rotate? and where i have to put this on scriptload or onserverstart?

Sebastian

Quote from: PsyChO_KiLLeR on Mar 02, 2015, 12:11 PMis their any key to rotate? and where i have to put this on scriptload or onserverstart?

There is no key to rotate an object... only if you script that.
Here is an example of how should look a line for creating an object:
CreateObject( model ID, world ID, Vector( x, y, z ), alpha ).RotateToEuler( Vector( x, y, z ), time );

MacTavish

Off: @Psycho_Killer changing nick doesnt help you to make script, you are using an leaked script and that is the f***est way learn scripting and afaik scripters wont provide support for Leaked script

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

PsyChO_KiLLeR

its not leaked scripts that u use and dont talk in my problem and again i am saying its not leaked script

MacTavish

Quote from: PsyChO_KiLLeR on Mar 02, 2015, 01:24 PMits not leaked scripts that u use and dont talk in my problem and again i am saying its not leaked script

Oh please shut your mouth that is Evolution-Dm script made by Ali_vcmp

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

PsyChO_KiLLeR

lol it is he give me i use just spree system of his script

ali_vcmp

Beztone Is RIght I Gave U Tomorrow AM I Right Squirrel Master + Phycho killer blah blah blah?

ali_vcmp

Then This Msg [Dod-error]?

PsyChO_KiLLeR

yeah and i dont care i change my nick

EK.IceFlake

Quote from: sseebbyy on Mar 02, 2015, 12:01 PM
Quote from: NE.CrystalBlue on Mar 02, 2015, 11:56 AMCreateObject(something).RotateToEuler(angle[int], 0);
Hope this helps

Nope, it doesn't help that much.
What's with the angle[int] ? ...

The function is like this, Psycho_Killer:
object.RotateToEuler( Vector( x, y, z ), time );
object = instance
x,y,z = rotation
time = the time needed to rotate it. ( use 0 if you want it instantly )
Quote from: sseebbyy on Mar 02, 2015, 12:01 PM
Quote from: NE.CrystalBlue on Mar 02, 2015, 11:56 AMCreateObject(something).RotateToEuler(angle[int], 0);
Hope this helps

Nope, it doesn't help that much.
What's with the angle[int] ? ...

The function is like this, Psycho_Killer:
object.RotateToEuler( Vector( x, y, z ), time );
object = instance
x,y,z = rotation
time = the time needed to rotate it. ( use 0 if you want it instantly )
:P Sorry I forgot about that lol

Honey

@ Ali and Psycho What's that noob-talk going on between you guys? Topics aren't made to chat, Do this via PM

PsyChO_KiLLeR