Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 14,136 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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