Graal Forums  

Go Back   Graal Forums > Search Forums
FAQ Members List Calendar Today's Posts

Showing results 76 to 100 of 151
Search took 0.00 seconds; generated 61 minute(s) ago.
Search: Posts Made By: Stryke
Forum: New Scripting Engine (GS2) 06-08-2008, 03:51 AM
Replies: 24
Views: 3,053
Posted By Stryke
Sure. :) function onCreated() { ...

Sure. :)

function onCreated()
{
drawoverplayer();
layer=2;
setshape(1,1,1);
this.show();
sleep(2);
this.destroy();
Forum: New Scripting Engine (GS2) 06-08-2008, 03:22 AM
Replies: 24
Views: 3,053
Posted By Stryke
Showing blood effects only once

To check if a player has been hit:

//#CLIENTSIDE
function onActionProjectile()
{
triggerserver("weapon", this.name, "BloodFX", player.x + 1.25 + random(0,0.5), player.y + 1 + random(0,1.5));...
Forum: New Scripting Engine (GS2) 06-01-2008, 09:21 PM
Replies: 4
Views: 1,286
Posted By Stryke
The function used: SortPlayers( array , list...

The function used:

SortPlayers( array , list , blol , blob);

params[0] = array.
params[1] = list.
params[2] = blol.
params[3] = blob.

Oops at : makevar("temp.var" @ c + 1) = params[b];
Forum: New Scripting Engine (GS2) 05-30-2008, 06:37 PM
Replies: 4
Views: 1,286
Posted By Stryke
What's the difference between these two?

temp.var1 = array[b];
temp.var2 = list[b];
temp.var3 = blol[b];
temp.var4 = blob[b];

array[b] = array[b+1];
list[b] = list[b+1];
blol[b] = array[b+1];
blob[b] = list[b+1];
Forum: New Scripting Engine (GS2) 05-29-2008, 11:30 PM
Replies: 13
Views: 2,141
Posted By Stryke
Thanks Chompy, it works :D

Thanks Chompy, it works :D
Forum: New Scripting Engine (GS2) 05-29-2008, 09:19 PM
Replies: 13
Views: 2,141
Posted By Stryke
setshape only works as a rectangle though i want...

setshape only works as a rectangle though i want it work with couch
only the x part should be where he should be able to sit, everything else
should be blocking

------------
|xxxxxxxxxx|...
Forum: New Scripting Engine (GS2) 05-29-2008, 06:58 AM
Replies: 13
Views: 2,141
Posted By Stryke
It actually does work as 1.5, believe it or not. ...

It actually does work as 1.5, believe it or not.
Anyway to include the arm rests on the couch on the setshape2?
Cause setshape2 only works with rectangles.. couch looks like this:

------------...
Forum: New Scripting Engine (GS2) 05-29-2008, 06:00 AM
Replies: 13
Views: 2,141
Posted By Stryke
setshape2(8,1.5,{22,22,22,22,22,22,22,22,22,22,22,...

setshape2(8,1.5,{22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22});
Tried this, but only works for the first top of the couch.. How would I do the two sides at the bottom (armrests)?
Forum: New Scripting Engine (GS2) 05-29-2008, 05:32 AM
Replies: 13
Views: 2,141
Posted By Stryke
Couch?

How do I make a couch? Like so you can sit on the middle, but not the sides and top. Can't use chair tiles because the couch is furniture that can be moved.
Forum: Playerworld Staff Openings 05-26-2008, 11:07 PM
Replies: 28
Views: 2,975
Posted By Stryke
I actually don't know that myself lol. I'm...

I actually don't know that myself lol. I'm guessing Soala (alexandralove) knows. :P
Forum: Playerworld Staff Openings 05-26-2008, 11:03 PM
Replies: 28
Views: 2,975
Posted By Stryke
More screenshots. :D During when we got about 19...

More screenshots. :D During when we got about 19 players online.

http://img79.imageshack.us/img79/1236/graal1206217742vs5.th.png (http://img79.imageshack.us/my.php?image=graal1206217742vs5.png)
Forum: New Scripting Engine (GS2) 05-26-2008, 03:47 AM
Replies: 7
Views: 1,565
Posted By Stryke
//#CLIENTSIDE function onPlayerChats() { ...

//#CLIENTSIDE
function onPlayerChats()
{
temp.fontSize = TradeChatList.profile.fontsize;
temp.fontType = TradeChatList.profile.fonttype;
temp.fontWidth = getTextWidth(temp.fontSize,...
Forum: New Scripting Engine (GS2) 05-26-2008, 03:05 AM
Replies: 7
Views: 1,565
Posted By Stryke
What I mean is, this is a chatting system inside...

What I mean is, this is a chatting system inside a trading system.
Everytime onPlayerChats is called, it creates a new GuiMLTextCtrl inside
a GuiScrollCtrl. But, the scrollbar goes all the way up,...
Forum: New Scripting Engine (GS2) 05-26-2008, 02:30 AM
Replies: 7
Views: 1,565
Posted By Stryke
GuiMLTextCtrl and GuiScrollCtrl

Everytime I add a new GuiMLTextCtrl inside the GuiScrollCtrl, it scrolls all the way up, so I fix this by using scrolltoBottom(). However it's annoying because it looks like the scroll bar is...
Forum: New Scripting Engine (GS2) 05-24-2008, 10:49 PM
Replies: 6
Views: 1,574
Posted By Stryke
The reason I posted a thread is because I...

The reason I posted a thread is because I couldn't find it on the wiki.
The only way you could've found the variable is if you looked through
everything in the NPC Server page.

It wasn't even in...
Forum: New Scripting Engine (GS2) 05-24-2008, 08:52 PM
Replies: 6
Views: 1,574
Posted By Stryke
Player's subscription variable

Whats the player variable that tells you what a player's subscription is?
I had it before, until a staff member deleted it by accident. x.x
Forum: New Scripting Engine (GS2) 05-21-2008, 12:20 AM
Replies: 24
Views: 2,940
Posted By Stryke
Since I can't use putnpc2 on the NPC server, what...

Since I can't use putnpc2 on the NPC server, what should I do?
Forum: New Scripting Engine (GS2) 05-20-2008, 05:39 AM
Replies: 24
Views: 2,940
Posted By Stryke
So should I use attrs or something? Can u show...

So should I use attrs or something?
Can u show me an example..
Forum: New Scripting Engine (GS2) 05-20-2008, 02:53 AM
Replies: 24
Views: 2,940
Posted By Stryke
It's on the Control-NPC, and no it's not...

It's on the Control-NPC, and no it's not clientside.
Forum: New Scripting Engine (GS2) 05-20-2008, 01:59 AM
Replies: 24
Views: 2,940
Posted By Stryke
So how would I do this? Script execution...

So how would I do this?

Script execution errors:
Function putnpc2 not found at line 102

Why the hell isn't putnpc2 allowed?
Forum: New Scripting Engine (GS2) 05-20-2008, 01:12 AM
Replies: 24
Views: 2,940
Posted By Stryke
attr's never work for me, can you please show me...

attr's never work for me, can you please show me a proper example script using attr's? BTW, it's solved anyway. My new problem is that when the NPC-Control won't send a triggerserver to one of my...
Forum: New Scripting Engine (GS2) 05-19-2008, 11:41 PM
Replies: 24
Views: 2,940
Posted By Stryke
Nevermind,.

Nevermind,.
Forum: New Scripting Engine (GS2) 05-19-2008, 10:29 PM
Replies: 24
Views: 2,940
Posted By Stryke
?? What are this codes? lol Anyway, Sidney...

?? What are this codes? lol

Anyway, Sidney do you mean this?

triggeraction(x,y,"owner",this.owner);

//#CLIENTSIDE
function onActionOwner(pl)
{
this.owner = pl;
Forum: New Scripting Engine (GS2) 05-19-2008, 09:43 PM
Replies: 24
Views: 2,940
Posted By Stryke
Yeah client.RideStatus is already set to NULL on...

Yeah client.RideStatus is already set to NULL on login.

"by sending it through a trigger action"
Send what, for what?
Forum: New Scripting Engine (GS2) 05-19-2008, 09:31 PM
Replies: 24
Views: 2,940
Posted By Stryke
Yeah, thats what I'm doing, and it works now. ...

Yeah, thats what I'm doing, and it works now.
However, there's another problem:

if (timeout) {
if (client.RideStatus==1) {
for (this.k=0;this.k<4;this.k++) {
if (keydown(this.k)) {...
Showing results 76 to 100 of 151

 
Forum Jump

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


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