Page 1 of 1

CoD2 script reference?

Posted: September 6th, 2012, 2:15 pm
by Tommy991
Hey everyone!

I've searched for script reference like ZeRoY's for CoD4, but no luck. :| Does anyone know is there something similar for CoD2? :roll:

Thanks,

Tommy

Re: CoD2 script reference?

Posted: September 6th, 2012, 3:30 pm
by Drofder2004
To my knowledge, it does not exist.

Re: CoD2 script reference?

Posted: September 6th, 2012, 4:00 pm
by Rezil
Drofder2004 wrote:To my knowledge, it does not exist.
KillerSam wrote:I concur, I don't believe that there is one as i've never seen it.
You can't be serious, doesn't exist? It's installed on your local machine along with Radiant. CoD2/Docs/index.html -> script documentation

Re: CoD2 script reference?

Posted: September 6th, 2012, 5:47 pm
by Tommy991
Found it, thanks Rezil. 8)

Peace,

Tommy

Re: CoD2 script reference?

Posted: September 7th, 2012, 12:24 am
by Drofder2004
Rezil wrote:
Drofder2004 wrote:To my knowledge, it does not exist.
KillerSam wrote:I concur, I don't believe that there is one as i've never seen it.
You can't be serious, doesn't exist? It's installed on your local machine along with Radiant. CoD2/Docs/index.html -> script documentation
lol, it was 6 years ago!

Re: CoD2 script reference?

Posted: September 7th, 2012, 2:18 am
by megazor
Rezil is right. It goes with the game.

Re: CoD2 script reference?

Posted: September 7th, 2012, 7:03 am
by Tommy991
Well I checked reference a bit and found getStance function identical as in CoD4, but when I try to use it I get unknown function error. I also checked for some syntax errors around it(stupid little mistakes), but everything seem alright.

Any ideas?

Tommy

Re: CoD2 script reference?

Posted: September 7th, 2012, 8:56 am
by megazor
Some functions are SP only.

Re: CoD2 script reference?

Posted: September 7th, 2012, 9:39 am
by Tommy991
Yes of course. At CoD4 reference there's a note at each function either is MP or SP only. Function getStance is MP. Though at CoD2 reference there's no notes about MP/SP. How can I check which are SP and which MP? If function is unknown then it's SP only? Or maybe some scripts must be included at start of file?

Thanks,

Tommy

Re: CoD2 script reference?

Posted: September 7th, 2012, 10:25 am
by megazor
Tommy991 wrote:If function is unknown then it's SP only?
This.