Thread: Npc to Npc
View Single Post
  #15  
Old 02-17-2011, 04:17 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by kingcj View Post
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.
__________________
Quote:
Reply With Quote