Quote:
Originally Posted by kingcj
I tried fp4's script and it works just gotta change some of it around. Works clientside as well...
|
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.