Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-04-2005, 07:09 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Functions & Parameters

Functions should be able to handle extra parameters that are undeclared, much like trigger events:

PHP Code:
// EVENT
  
player.trigger("addWeapons","Message","TempPlayer","Login");
// CLOSE EVENT

public function onaddWeapons()
{
  for (
weapparams)
    
this.addWeapon(weap);

To...

PHP Code:
// EVENT
  
player.addWeapons("Message","TempPlayer","Login");
// CLOSE EVENT

public function addWeapons()
{
  for (
weapparams)
    
this.addWeapon(weap);

While I'm at it -- You may as well add a addWeapons() function O,o; It might serve it's purpose... Or let everyone who wants to do that do like me?

Reenable this.destroy() == Deleting the weapon
(client & serverside) and let protectedweapon prevent it from deleting serverside?

Umm... Removing weapons with GUI Control doesn't delete the GUI Control.
__________________
In a world of change... Who'll you believe?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.