Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-28-2009, 05:46 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Why are you putting @'s in the middle of no where lol.

I.e: this.whatmatch = @ this.(@"sdematch" @ i) @;
Should just be: this.whatmatch = this.(@"sdematch" @ i);

You generally use @ when you want to append things together. I.e:

PHP Code:
function onCreated() {
  
temp."ABC";
  
this.chat temp."DEF"// chat will be "ABCDEF"

and when you're using dynamic variables.

PHP Code:
function onCreated() {
  
this.lol "jk";
  
temp.var = "lol";
  
this.chat this.(@temp.var); // chat will be "jk"

But you are already using it that way.
__________________
Quote:
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:26 PM.


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