Quote:
Originally Posted by fowlplay4
To get it to work client-side you would just have to use a weapon script or a level variable.
I.e:
PHP Code:
//#CLIENTSIDE
function onCreated() {
temp.SwitchDB = findweapon("-System/DB");
}
The only issue is that you're trapped to the same level.
Also about your trigger worries, because you're staying on the same side it's really not that big of deal at all and has about the same impact as calling a public function. It's when you're going from client<->server that it becomes important to minimize the amount of triggerserver/clients/actions.
|
It worked Clientside without a weapon script or level var... I just put //#CLIENTSIDE at the top and it worked for me and my buddy on clientside only. I don't know if it is suppose to work that way or not, but it does I assure you, even without this added scripting. I haven't checked to see yet, but I don't know if I would be trapped to the same level with the trigger or not. Again thanks for the help!