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 06-14-2006, 03:39 AM
jailbird jailbird is offline
Registered User
Join Date: Feb 2006
Posts: 4
jailbird is on a distinguished road
GS2 problem

i was converting a spar level into gs2 and came across this problem

function onPlayerchats(){
if (player.chat=="focus on") {
setfocus 30,30;}
}

seems that the player.chat line cant have spaces with in the " "

heres the error:

Error: Flags and variables cannot contain spaces!
and it highlights "focus on"
Reply With Quote
  #2  
Old 06-14-2006, 03:44 AM
Luigi203 Luigi203 is offline
Hamma Time
Luigi203's Avatar
Join Date: Mar 2003
Location: North East PA
Posts: 285
Luigi203 is on a distinguished road
Send a message via AIM to Luigi203
The editor option for testing code errors does not work with GS2. Clientside it and the setfocus should be setfocus(30,30);
__________________


CAUTION
Reply With Quote
  #3  
Old 06-14-2006, 06:35 AM
VulcanP2P VulcanP2P is offline
Registered User
VulcanP2P's Avatar
Join Date: May 2005
Location: Florida
Posts: 882
VulcanP2P is on a distinguished road
...and your GS2 scripts will not work in the editor either. You will need to test them online.
__________________

For Zone or Guild Support use the Support Center
Reply With Quote
  #4  
Old 06-14-2006, 06:50 AM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
The offline editor doesn't recognize GS2. Change setfocus 30 30; to setfocus(30, 30); and it will be correct apart from the necessity of it being clientside.
Reply With Quote
  #5  
Old 06-17-2006, 01:30 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Bl0nkt
The offline editor doesn't recognize GS2. Change setfocus 30 30; to setfocus(30, 30); and it will be correct apart from the necessity of it being clientside.
Eeh, your smart hachi .

Sumed two peoples post into 1!
Reply With Quote
  #6  
Old 06-17-2006, 01:38 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by KuJi
Eeh, your smart hachi .

Sumed two peoples post into 1!
Not even that, mag said didn't work in the editor aswell.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #7  
Old 06-17-2006, 02:09 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by ApothiX
Not even that, mag said didn't work in the editor aswell.
Ahh, then what I ment to say is:
You repeated a post hachi!
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:16 AM.


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