Jump to content

Recommended Posts

Posted

Q: Is there a way to call a C++ script from a Lua script? 
and if that is possible;
how does one call a Lua script from within a C++ script?
................................
Any pointers appreciated

im thinking; if that I can at the end of a level, have LUA script ask for a C++ script that triggers a Steam Achivement and after that either calls the desired in game map or if nedded restart the entire game (this is a viable option for me; but not desirable if avoidable)

Posted

Why are you thinking you need to do C++ to do those 2 things? You should be able to do that in lua itself.

 

Nevermind I guess achievement code is only in C++

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...