Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I need an action which will open another game that is exported from Copper cube! Like If someone clicks on a 2D overlay item then action is set that open a game! Is there any action? |
||||
|
Yes , you can do this using scripting.... And now there is an option to dynamically load a ccb file... In the new coppercube version.. 5.7... |
||||
|
Thanks! Yes, I will try! |
||||
|
Did you mean it will open an exported game? If no, I mean if someone click on a 2D overlay item in my exported game then the action will be open another exported game and close the previous game! And how I can do this using scripting send me the code! |
||||
|
You don't answered me but, I will do this using scripting! |
||||
|
Sorry for being not replying... You should try to understand thay people can be lazy sometimes..... And no i wasn't talking abouy the exe.. i was talking about the scene itslef.... Ir may be you can try this script.... But am not sure if this wilk work for exe or not... function RunFile() { Hope it works for u... Never tried it... It always works with html .... For html you have to save it as . hta Good luck!! |
||||
|
Hi there... It works for me, I wrote an article about it on http://marshtownmadness.com , have a look |
||||
|
@zoo plzz provide the link to that specific topic on your website... When you are talking about a particualr thing... Don't just simply provide link to the homepage of ur site.... And if my method works for u then i will be glad if u give credits to me.. in your article or post... &128522;&128522; |
||||
|
Never mind about laziness, I also reply late sometimes! Now by the way, Will it work for exe? ccbSwitchToEXEFile("otherfile.exe");
|
||||
|
You wrote me the script so I didn't understand the script! The question is: Where I have to write the file name or location? |
||||
|
I dont think there is anything related with CcbSwitchToExe.... And you have to write the filename by changing the location c:/windows/system32/notepad.exe to the exe you wanted to be open..... |
||||
|
Are you sure it will work? |
||||
|
Just go to the Copercube documentation. system (commandline) Executes the given command line. Can be used to run commands or launch programs. Examples: System ("type C: \\ Windows \\ WindowsUpdate.log"); On windows, this will print the contents of the file WindowsUpdate.log (if available) to the screen. |
|