View Single Post
  #4  
Old 07-02-2008, 01:41 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Zanzel View Post
Oh, really.. Thanks, the way Malora has its spells set up I think each spell is a class and well that wont work too well if that is the case xD

Well Maloria has hit a bump in the road this time until something's sorted out;
Thanks anyway Skyld.
If it's the correct object, why can't you just trigger the object? If it's not the correct object, why don't you just define some functions in a weapon and trigger that weapon?
For example, if you have a block in a level and you need to trigger it from clientside to serverside you could just put this in the class it's joined to:
PHP Code:
function onCreated() {
  
setshape(13232);
}
function 
onActionTrigger() {
  
chat params[0];
}
//#CLIENTSIDE
function onPlayerTouchsme() {
  
triggeraction(this.0.5this.0.5"Trigger""hi");

__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote