View Single Post
  #1  
Old 11-14-2011, 12:03 PM
HR_Grainovich HR_Grainovich is offline
Approved Member
 
Join Date: Nov 2011
Posts: 14
Default Some questions newbie scripter

Hi scripters!

I have a couple of question, i will try to explain myself, sorry by my awful english.

I don't want to specify the path to my submission folder like:

GamePlay.gpPostMissionLoad("missions/<directory_to_my_mission>/submision.mis");

It's possible to specify a relative path? always must to be absolute path?

Exist any function which can return the absolute path?, something like this: battleScriptFileName() , but doesn´t work , at least I can´t do it, my script GamePlay.battleScriptFileName() doesn´t work, any idea?

And another question... CoD have any "error.log" for debugging the scripting error?, like "you have an error in line 42" ??

Finally, where can I find an explanation about the parameter "int missionNumber" in some functions like OnTrigger(int missionNumber, string shortName, bool active) ?? , I don´t understand what mean this parameter and his use.

Thanks very much!!
Reply With Quote