Forum: New Scripting Engine (GS2)
06-08-2008, 03:51 AM
|
|
Replies: 24
Views: 3,053
|
Forum: New Scripting Engine (GS2)
06-08-2008, 03:22 AM
|
|
Replies: 24
Views: 3,053
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
|
Forum: New Scripting Engine (GS2)
05-30-2008, 06:37 PM
|
|
Replies: 4
Views: 1,286
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
|
Forum: New Scripting Engine (GS2)
05-29-2008, 09:19 PM
|
|
Replies: 13
Views: 2,141
|
Forum: New Scripting Engine (GS2)
05-29-2008, 06:58 AM
|
|
Replies: 13
Views: 2,141
|
Forum: New Scripting Engine (GS2)
05-29-2008, 06:00 AM
|
|
Replies: 13
Views: 2,141
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
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
|
Forum: Playerworld Staff Openings
05-26-2008, 11:03 PM
|
|
Replies: 28
Views: 2,975
|
Forum: New Scripting Engine (GS2)
05-26-2008, 03:47 AM
|
|
Replies: 7
Views: 1,565
//#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
|
Forum: New Scripting Engine (GS2)
05-26-2008, 02:30 AM
|
|
Replies: 7
Views: 1,565
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
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
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
|
Forum: New Scripting Engine (GS2)
05-20-2008, 05:39 AM
|
|
Replies: 24
Views: 2,940
|
Forum: New Scripting Engine (GS2)
05-20-2008, 02:53 AM
|
|
Replies: 24
Views: 2,940
|
Forum: New Scripting Engine (GS2)
05-20-2008, 01:59 AM
|
|
Replies: 24
Views: 2,940
|
Forum: New Scripting Engine (GS2)
05-20-2008, 01:12 AM
|
|
Replies: 24
Views: 2,940
|
Forum: New Scripting Engine (GS2)
05-19-2008, 11:41 PM
|
|
Replies: 24
Views: 2,940
|
Forum: New Scripting Engine (GS2)
05-19-2008, 10:29 PM
|
|
Replies: 24
Views: 2,940
|
Forum: New Scripting Engine (GS2)
05-19-2008, 09:43 PM
|
|
Replies: 24
Views: 2,940
|
Forum: New Scripting Engine (GS2)
05-19-2008, 09:31 PM
|
|
Replies: 24
Views: 2,940
|