Search the Community
Showing results for tags 'Function'.
-
'm using the C++ SDK and lua for small objects code. I need to create the entities from C++ and later use the bool Entity::CallFunction(const std::string& functionName, Object* extra) How to 'bind' on script lua to an entity ? it looks that Interpreter is using tolua++, but I can't figure how t...
-
I'm trying to create a script that spawns an object every so often at a set time, but I keep getting a script error that says " '=' expected near 'function'". I'm new to programming and have no clue what that means. here's a screenshot of it in context. ANy help would be very appreciated. Scr...
-
Hai! I have a function for changing the music track in my game and it works fine and all, but I also want it to get the total length of the track... Here is my function I'm currently using: function App:SwitchMusic(name) App.source:Stop() local sound = Sound:Load("Sound/BGM/" .. name .....
-
How limited are our abilities to play with Nav-Meshes? I can tell an entity to use one and be told whether its possible or not and as far as I know thats pretty much it. Can Nav-Meshes be targeted functionally? I was trying to see if I could use Camera::Pick() to know when the mouse was...
-
I'm not sure if this is a bug but the SetMousePosition function that takes in three parameters, the x value, y value, and z value, does not properly set the z value of the mouse position. One can test this using this code snippet. self.window = Window:GetCurrent() self.window:SetMousePosi...
- 4 replies
-
- mouse position
- function
-
(and 1 more)
Tagged with: