View Single Post
  #12  
Old 07-30-2005, 02:42 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by Inverness
When you do call a public function you have to put the weapon name before it, i'd like to be able to call it without using the weapon object:
addItem()
instead of:
weaponname.addItem()
Why? This obfuscates your code.

Quote:
Originally Posted by Inverness
I'd also like to be able to call functions clientside<->serverside. It would help greatly in my inventory system.
While I agree, I find that using triggers is more logical. Your scripts should be designed to do as little as possible between server and client to keep network usage down.
Reply With Quote