Help Me Please.
Im Spawning Object.
And Spawn Script :
$name$ = $object_rotate$$angley$ = %GLOBAL%$rot_angle$
:i $rot_angle$ = (%GLOBAL%$rot_angle$ + %f(0.062500))
Error!
Help?
Rotate Spawn Object.
-
- Posts: 48
- Joined: Tue Jan 04, 2011 10:50 am
- Contact:
-
- Posts: 268
- Joined: Thu Oct 14, 2010 2:55 am
- Contact:
Re: Rotate Spawn Object.
To rotate an object, use:
the int is the angle you want it rotated, so max is 360. x, y and z are the axes of which you can rotate on a maximum 360 degree angle.
:i $TheName$.call $Obj_SetOrientation$ arguments
$X$ = %i(0,00000000)$y$ = %GLOBAL%$angle$$z$ = %i(0,00000000)
the int is the angle you want it rotated, so max is 360. x, y and z are the axes of which you can rotate on a maximum 360 degree angle.
-
- Posts: 48
- Joined: Tue Jan 04, 2011 10:50 am
- Contact:
Re: Rotate Spawn Object.
How to make what the chamber moving together with moving object? And the player was at a stop.Sorry for my bad english.
-
- Posts: 268
- Joined: Thu Oct 14, 2010 2:55 am
- Contact:
Re: Rotate Spawn Object.
I can't understand... Please speak in your main language.
-
- Posts: 48
- Joined: Tue Jan 04, 2011 10:50 am
- Contact:
Re: Rotate Spawn Object.
http://www.youtube.com/user/skejt23#p/a/u/1/fUoQInT_z9Q
The arrow moves, and the chamber too together with the chamber. How to make so?
The arrow moves, and the chamber too together with the chamber. How to make so?
-
- Posts: 268
- Joined: Thu Oct 14, 2010 2:55 am
- Contact:
Re: Rotate Spawn Object.
Lezzer wrote:http://www.youtube.com/user/skejt23#p/a/u/1/fUoQInT_z9Q
The arrow moves, and the chamber too together with the chamber. How to make so?
The arrow is a composite object. So you can assign a name to it
for example
$Skater$.$Function$
could be
$Arrow$.$Function$
simply make a function that will get the pos of $Arrow$, then move the pos of $Skater$ to the pos of $Arrow$.
use the search function to find out how to make a composite object.
-
- Posts: 48
- Joined: Tue Jan 04, 2011 10:50 am
- Contact:
Re: Rotate Spawn Object.
And it is impossible to make so the player would be at a stop and the arrow moved together with the chamber.
As on video.
As on video.
-
- Posts: 108
- Joined: Fri Nov 20, 2009 1:20 pm
- Location: Ukraine
- Contact:
Re: Rotate Spawn Object.
Lol, use this:
The same for X and Z.
Just change Obj_RotY
Code: Select all
:i $NameOfYourObject$.call $Obj_RotY$ arguments
$speed$ = %i(200,000000c8)
:i endfunction
The same for X and Z.
Just change Obj_RotY
Who is online
Users browsing this forum: No registered users and 135 guests