Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Martin_HH, Quad, 1 invisible), 26,128 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rht, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
More help with Kinji's tutorial? #92662
10/01/06 15:26
10/01/06 15:26
Joined: Feb 2005
Posts: 1,785
Jesusland
Towelie Offline OP
Serious User
Towelie  Offline OP
Serious User

Joined: Feb 2005
Posts: 1,785
Jesusland
Ok, so I overcame my last problem, and I've moved onto vectors. This code is supposed to make the entity face the same way as the player and be slightly above the player using vectors. So, I made my script and placed my character in the level, then assigned the action to a model. Heres my code:

Code:
 
var vect_ori[3];
var vect_pos[3];

function func_mimic()
{
while(1)
{
vect_pos.x=player.x;
vect_pos.y=player.y;
vect_pos.z=player.z+30;

vect_ori.pan=player.pan;
vect_ori.tilt=player.tilt;
vect_ori.roll=player.roll;

my.x=vect_pos.x;
my.y=vect_pos.y;
my.z=vect_pos.z;

my.pan=vect_ori.pan;
my.tilt=vect_ori.tilt;
my.roll=vect_ori.roll;
}
wait(1);
}

action mimic
{
my.enable_scan=on;
my.event=func_mimic;
}




Jimmy died, today, he blew his brains out into the bay, in the state of mind, its my own private suicide. A stitch in time saves nine... what the hell does that mean?!?
Re: More help with Kinji's tutorial? [Re: Towelie] #92663
10/03/06 18:53
10/03/06 18:53
Joined: Aug 2006
Posts: 7
S
Shaba1 Offline
Newbie
Shaba1  Offline
Newbie
S

Joined: Aug 2006
Posts: 7
what or what is "Kinji's" tutorial?


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1