Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Add Load Lua Scripts in C++ version Official and Network Commands


Recommended Posts

hi everyone ! I would suggest that added commands to C ++, I would can add scripts LUA in an entity whatever I define for a command, example> I created a simple box, I can link a script LUA in the box with a command like ( entity:loadScript (EntityID, "LUASCRIPTPATH")wink.png or something like this smile.png .....

 

and also like that added commands to connect to a server (TCP or UDP) and receive messages > string, integer and float and too send messages > string , integer and float.... would be very useful !

 

 

thanks by attention smile.png

Link to post

There is Entity->SetScript(string). I use it all the time, and the bulletdecal script uses it. You can also just make a "C++ Script" class too.

 

Networking isn't officially supported, but a lot of people got Multiplayer games to work.

Link to post

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.

Facebook Twitter Youtube Github Steam
×
×
  • Create New...