Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (RealSerious3D, AndrewAMD, BrainSailor, 1 invisible), 1,233 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problem with manual #243648
12/31/08 04:13
12/31/08 04:13
Joined: Dec 2008
Posts: 56
B
binsky33333 Offline OP
Junior Member
binsky33333  Offline OP
Junior Member
B

Joined: Dec 2008
Posts: 56
Ok,
Hi everyone. I was just reading through the manuals tutorials when i came across how to make an entity move... Well i decided i would try this out. So here is the code i am using.

////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>

////////////////////////////////////////////////////////////////////
action move_me()
{
while (1)
{
my.x+= 10 * key_force.x;
my.y+= 10 * key_force.y;
call move_view();
wait(1);
}

}


function main()
{
video_mode = 7;
level_load ("mainmap.wmb");

}


See the problem is whenever i try and compile my script i get move_view undeclared identifier. What is wrong with this tutorial. Also i am using a manual all the way back from 2001 because the manaual link on the site doesnt work. Here is a link to the manual i am using. http://www.conitec.net/wdlman4.pdf

Last edited by binsky33333; 12/31/08 04:14.
Re: Problem with manual [Re: binsky33333] #243649
12/31/08 04:27
12/31/08 04:27
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
Download the lite-c workshops
Also call move_view(); could be c-script not lite-c
I'm not sure, but it might be


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: Problem with manual [Re: Blade280891] #243662
12/31/08 08:25
12/31/08 08:25
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
"Call move_view" is neither c-cript nor c, its just nonsense. There is no command "Call" or "move_view".

When you want to "blame the manual" its obvious that you should have read it before. When you are an absolute beginner please start with the tutorial for learning how to write a C script. Thread moved to beginners forum.


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