Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AbrahamR), 717 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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