Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/26/24 12:45
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 813 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: lite-c [Re: jermy] #157072
09/27/07 16:43
09/27/07 16:43
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
Hmm,

Dieses ist, wie ich Vektoren bilde:

VECTOR* some_vector;
vec_zero (some_vector);

Verbrauch:

ent_create (wesen, some_vector, funktion);

oder:

ent_create (wesen, vector(some_vector.x,0,0), funktion);

ok?


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: lite-c [Re: oldschoolj] #157073
09/28/07 11:33
09/28/07 11:33
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
Das ist ein Array von 3 Pointern:

VECTOR* move_vec[3]= {0,0,0};

Das ist ein Array von 3 vars:

var move_vec[3]={0,0,0};

Das ist ein initialisierter VECTOR Pointer:

VECTOR* move_vec= { x=10; y=20; z=30; }

Das sind drei voellig unterschiedliche Objekte, die Sie nicht durcheinanderbringen sollten. Ausnahme: Alle Engine-Funktionen akzeptieren auch ein Array von 3 vars anstelle eines VECTOR Pointers.

Re: lite-c [Re: jcl] #157074
09/28/07 12:23
09/28/07 12:23
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
cool I didn't know that you could predefine vectors like that . I'm such a newb


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: lite-c [Re: oldschoolj] #157075
09/28/07 12:35
09/28/07 12:35
Joined: Aug 2007
Posts: 165
Germany
J
jermy Offline OP
Member
jermy  Offline OP
Member
J

Joined: Aug 2007
Posts: 165
Germany
Thanks for your help!
But theres still one question:
how can i set the path for the saved "Spielstände" or images?

Re: lite-c [Re: jermy] #157076
09/28/07 12:47
09/28/07 12:47
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
In the manual there is a section Lite-C Language > Syntax > C-script to Lite-C it talks about paths and all that good stuff in there.


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: lite-c [Re: oldschoolj] #157077
09/28/07 12:56
09/28/07 12:56
Joined: Aug 2007
Posts: 165
Germany
J
jermy Offline OP
Member
jermy  Offline OP
Member
J

Joined: Aug 2007
Posts: 165
Germany
Dann benötige ich einen extra wdl-Skript für die savedir? Geht das geht nicht in lite-c?


Last edited by jermy; 09/28/07 13:46.
Re: lite-c [Re: jermy] #157078
09/28/07 17:48
09/28/07 17:48
Joined: Aug 2007
Posts: 165
Germany
J
jermy Offline OP
Member
jermy  Offline OP
Member
J

Joined: Aug 2007
Posts: 165
Germany

was heisst das? im handbuch habe ich nichts gefunden!

Re: lite-c [Re: jermy] #157079
09/29/07 09:30
09/29/07 09:30
Joined: Aug 2007
Posts: 165
Germany
J
jermy Offline OP
Member
jermy  Offline OP
Member
J

Joined: Aug 2007
Posts: 165
Germany
Quote:


was heisst das? im handbuch habe ich nichts gefunden!



Code:
  
function operate()
{
temp.pan = 120;
temp.tilt = 120;
temp.z = 150;
scan_entity(camera.x,temp);
}



Re: lite-c [Re: jermy] #157080
10/01/07 22:57
10/01/07 22:57
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Have you defined your variable or entity "temp"?

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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