Forum: NPC Scripting
08-06-2017, 04:05 PM
|
|
Replies: 7
Views: 6,021
Ignoring blocking tiles?
function onCreated() {
setshape2(10,10,{
11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,
11,11,11,11,11,11,11,11,11,11,
...
|
Forum: Graal Main Forum (English)
08-05-2017, 02:41 AM
|
|
Replies: 3
Views: 2,466
|
Forum: NPC Scripting
08-04-2017, 08:13 PM
|
|
Replies: 4
Views: 5,027
Damn.
I was imaging trying to create an...
Damn.
I was imaging trying to create an inventory and weapon system like Link's Awakening where the player could have different weapons equipped to the S and D keys. So I imagine I'd have to...
|
Forum: NPC Scripting
08-03-2017, 11:40 PM
|
|
Replies: 5
Views: 5,601
|
Forum: NPC Scripting
08-03-2017, 10:55 PM
|
|
Replies: 5
Views: 5,601
|
Forum: NPC Scripting
08-03-2017, 06:17 PM
|
|
Replies: 5
Views: 5,601
Okay after reading some of FP4's tutorial I am...
Okay after reading some of FP4's tutorial I am guessing temp.controlnpc = findnpc("Control-NPC") finds the object and this.player.data = temp.controlnpc.player_data pulls the value of player_data...
|
Forum: NPC Scripting
08-03-2017, 01:01 PM
|
|
Replies: 5
Views: 5,601
GScript for Dummies Guide to GS2 question.
I'm reading the guide on GS2 and near the end he or she mentions objects. This part has me lost. What exactly is happening here?
temp.controlnpc = findnpc("Control-NPC"); //Creates an object...
|
Forum: NPC Scripting
08-03-2017, 07:14 AM
|
|
Replies: 4
Views: 5,027
Moving default functions to another key?
Basically I would like to disable the default controls so I can change how each button behaves. But I want to continue to use Graal's default systems. Is this possible?
For example I want to move...
|
Forum: Old Scripting Engine (GS1)
08-03-2017, 04:52 AM
|
|
Replies: 21
Views: 70,671
|
Forum: Graal Kingdoms
08-03-2017, 03:47 AM
|
|
Replies: 26
Views: 23,895
|
Forum: Graal Main Forum (English)
08-03-2017, 03:41 AM
|
|
Replies: 9
Views: 11,095
|
Forum: Old Scripting Engine (GS1)
08-01-2017, 06:06 AM
|
|
Replies: 21
Views: 70,671
|
Forum: Old Scripting Engine (GS1)
08-01-2017, 01:00 AM
|
|
Replies: 21
Views: 70,671
Okay another novice question here. What is the...
Okay another novice question here. What is the difference between serverside and clientside NPCs? I assume that clientside NPCs are only run on locally and can have different behaviors for each...
|
Forum: Old Scripting Engine (GS1)
07-31-2017, 10:23 PM
|
|
Replies: 21
Views: 70,671
|
Forum: Classic News
07-31-2017, 09:53 PM
|
|
Replies: 21
Views: 47,981
|
Forum: Classic News
07-31-2017, 08:54 PM
|
|
Replies: 21
Views: 47,981
|
Forum: Classic News
07-31-2017, 07:45 PM
|
|
Replies: 21
Views: 47,981
|
Forum: Old Scripting Engine (GS1)
07-31-2017, 10:13 AM
|
|
Replies: 21
Views: 70,671
|
Forum: Old Scripting Engine (GS1)
07-31-2017, 05:26 AM
|
|
Replies: 21
Views: 70,671
Okay I'm having issues with the basics.
...
Okay I'm having issues with the basics.
function onPlayerChats() {
if (player.chat == "Hello") {
this.chat = "true";
}
}
This will only return true if player.chat is "Hello" but...
|
Forum: Old Scripting Engine (GS1)
07-31-2017, 02:49 AM
|
|
Replies: 21
Views: 70,671
|
Forum: Old Scripting Engine (GS1)
07-31-2017, 12:44 AM
|
|
Replies: 21
Views: 70,671
Help me weed out bad practices.
So I was scripting in an online editor and was annoyed by the people popping into the level to see what I was working on. So I scripted a system to remove players froma level in the offline editor in...
|
Forum: NPC Scripting
07-30-2017, 06:47 PM
|
|
Replies: 7
Views: 6,917
|
Forum: NPC Scripting
07-30-2017, 11:19 AM
|
|
Replies: 7
Views: 6,917
|
Forum: NPC Scripting
07-30-2017, 02:24 AM
|
|
Replies: 7
Views: 6,917
What is the purpose of "join"?
My novice scripting skills are coming to the light.
I'm learning both GS2 and scripting with an NPC server for the first time and I see several references to the "join" command. I assume it is...
|
Forum: Level Design
07-29-2017, 04:23 AM
|
|
Replies: 16
Views: 392,787
|