Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GS1 "Concatenation" (https://forums.graalonline.com/forums/showthread.php?t=134267213)

Bl0nkt 10-07-2012 01:39 AM

GS1 "Concatenation"
 
Not sure what it is actually called, but the GS2 equivalent would be

NPC Code:

number = 3;
this.("string" @ number)



Being read in the code as this.string3. Also, how would I do something similar to play a file in gs1?

Example:

NPC Code:

number = 2;
play("file" @ number @ ".wav");



much appreciated!

DustyPorViva 10-07-2012 03:07 AM

play file#v(number).wav;

Admins 10-10-2012 12:05 AM

There are set and unset functions in GS1 (still work in GS2 but not recommended :)


All times are GMT +2. The time now is 02:44 PM.

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