| Blockland Forums > Modification Help |
| The client function for starting the game/when the game is started. |
| << < (4/4) |
| otto-san:
--- Quote from: Headcrab Zombie on October 17, 2010, 03:21:23 AM ---parenting whatever function is called when you click the join server button --- End quote --- i want this function. :U |
| Headcrab Zombie:
You're better of doing what DrenDran said - put the code you need ran on blockland start outside of any function, it will be ran as soon as the add-on is loaded. The problem with parenting onStart is it's probably called before any add-ons are executed. --- Quote from: otto-san on October 17, 2010, 02:19:27 PM ---i want this function. :U --- End quote --- Just use the GUI editor to see what it is. |
| otto-san:
apparently it's joinServerGUI::join :I |
| Chrono:
GameConnection::onConnectionAccepted(%this) This is a good one to use. (Yes it's client sided) |
| otto-san:
--- Quote from: Chrono on October 17, 2010, 07:24:34 PM ---GameConnection::onConnectionAccepted(%this) --- End quote --- thanks |
| Navigation |
| Message Index |
| Previous page |