Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-09-2011, 07:59 PM
skillmaster19 skillmaster19 is offline
Registered User
Join Date: Oct 2010
Posts: 392
skillmaster19 will become famous soon enough
Quote:
Originally Posted by ffcmike View Post
I think this issue here is that this has to be done Clientside if on a GMAP.
yup thats it! thanks! too bad I have to rescript the whole thing now...
Reply With Quote
  #2  
Old 04-09-2011, 08:02 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by skillmaster19 View Post
yup thats it! thanks! too bad I have to rescript the whole thing now...
You could try using triggeraction to simply communicate hits from Clientside to Serverside.

Such as like:

PHP Code:
function onCreated(){
  
this.setshape(13232);
}

function 
onActionHit(){
  
//stuff
}

//#CLIENTSIDE

function onWasH1t(){
  
triggeraction(this.1this.1"Hit"params);

Reply With Quote
  #3  
Old 04-09-2011, 08:22 PM
skillmaster19 skillmaster19 is offline
Registered User
Join Date: Oct 2010
Posts: 392
skillmaster19 will become famous soon enough
Quote:
Originally Posted by ffcmike View Post
You could try using triggeraction to simply communicate hits from Clientside to Serverside.

Such as like:

PHP Code:
function onCreated(){
  
this.setshape(13232);
}

function 
onActionHit(){
  
//stuff
}

//#CLIENTSIDE

function onWasH1t(){
  
triggeraction(this.1this.1"Hit"params);

Doesn't seem to work, I also tried triggering the server to do the stuff needed when hit.
Reply With Quote
  #4  
Old 04-10-2011, 03:02 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Quote:
Originally Posted by skillmaster19 View Post
Doesn't seem to work, I also tried triggering the server to do the stuff needed when hit.
You wouldn't have forgotten to change onWasH1t, right?
Reply With Quote
  #5  
Old 04-10-2011, 04:09 AM
skillmaster19 skillmaster19 is offline
Registered User
Join Date: Oct 2010
Posts: 392
skillmaster19 will become famous soon enough
no I didn't forget
Reply With Quote
Reply


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 05:30 PM.


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