[Orpheu] Invalid parameter count
I've been playing around with orpheu and i got this error that i don't understand.
Code:
L 09/23/2011 - 15:19:07: [ORPHEU] Invalid parameters count. Expected [5]. Got [4]Code:
void CGib :: SpawnStickyGibs( entvars_t *pevVictim, Vector vecOrigin, int cGibs )My code: PHP Code:
Signature: Code:
{ |
Re: [Orpheu] Invalid parameter count
I don't think orpheu has support for Vector at this point. I'm sure Arkshine or quim will chime in to confirm the problem.
|
Re: [Orpheu] Invalid parameter count
Yeah, i've checked the orpheu thread again & found these data types:
Code:
"bool"Thanks Edit: The argument type is accepted when the signatures are loaded though, not sure if this means anything: Code:
Parsing file "SpawnStickyGibs" started |
Re: [Orpheu] Invalid parameter count
don't wait for the update, cause you can't pass a class member as parameter through pawn, you will find that all the para types listed above are actually sort of value, number or address. that's the limitation of this script stuff.
|
Re: [Orpheu] Invalid parameter count
I don't know much about those things :S
Could you explain what class members are ? |
Re: [Orpheu] Invalid parameter count
a member of a class, like Vector origin;
origin is the member of class "Vector" |
Re: [Orpheu] Invalid parameter count
Quote:
PHP Code:
|
Re: [Orpheu] Invalid parameter count
Okay, now i get it.
So there's no way to handle that function ? |
Re: [Orpheu] Invalid parameter count
then orpheu will change the way how it works, like get the float x,y,z pawn passed, and declare temp Vector(x, y, z), pass manually to that function. that conflit with the original procedure how orpheu does.
|
Re: [Orpheu] Invalid parameter count
I'll try to figure it out, thanks everyone.
Edit: I seem to have the same problem with CGib::SpawnHeadGib() which doesn't use Vector * My code: PHP Code:
Code:
{Code:
L 09/23/2011 - 17:23:34: [ORPHEU] Invalid parameters count. Expected [3]. Got [2] |
| All times are GMT -4. The time now is 19:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.