Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/27/26 16:40
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (TipmyPip, Quad, AndrewAMD, Grant), 5,025 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c_move - missing or wrong parameter -.- #188477
03/15/08 08:33
03/15/08 08:33
Joined: Mar 2007
Posts: 151
JokeSpeaker Offline OP
Member
JokeSpeaker  Offline OP
Member

Joined: Mar 2007
Posts: 151
Code:
c_move(me,player_pos,nullvector,ignore_passable + ignore_passents + glide);


This is my c_move script in my A6 Extra and when I run it this error appears:
Missing/wrong paramter, comma unexpected

What I writed false?

This appears also by c_trace.

Re: c_move - missing or wrong parameter -.- [Re: JokeSpeaker] #188478
03/15/08 10:09
03/15/08 10:09
Joined: Aug 2005
Posts: 343
Germany
HPW Offline
Senior Member
HPW  Offline
Senior Member

Joined: Aug 2005
Posts: 343
Germany
If you use Lite-C, then you must write the flags like this IGNORE_PASSABLE | IGNORE_PASSENTS | GLIDE.
But if you use C-Script you can keep it like you have.
Of what type is your player_pos? Is it a VECTOR* or a simple var? You need a VECTOR* or a var array with the size of 3 to get it working.


Evil Blood (v. 0.52) RPG
Commport.de (Social Network Community)
Re: c_move - missing or wrong parameter -.- [Re: HPW] #188479
03/15/08 11:17
03/15/08 11:17
Joined: Mar 2007
Posts: 151
JokeSpeaker Offline OP
Member
JokeSpeaker  Offline OP
Member

Joined: Mar 2007
Posts: 151
I use C-Script and it says this error...

Re: c_move - missing or wrong parameter -.- [Re: JokeSpeaker] #188480
03/15/08 11:21
03/15/08 11:21
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Try to use my instead of me and check if player_pos is a valid vector (var[3]). Then, if it still doesn't compile search in the neighbourhood of that line and watch carefully. Sometimes bad lines tear other lines down as well.

Re: c_move - missing or wrong parameter -.- [Re: HeelX] #188481
03/15/08 11:50
03/15/08 11:50
Joined: Mar 2007
Posts: 151
JokeSpeaker Offline OP
Member
JokeSpeaker  Offline OP
Member

Joined: Mar 2007
Posts: 151
All other lines are sure right. The vector is right, also by nullvector it is an error. I tried my and me. Also in a empty script with action a { c_move...; } this is an error, too.


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

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