Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Syntax

Pages: 1 [2] 3 4
16
Add-Ons / Re: Event_SetAsSpawnBrick
« on: September 04, 2010, 08:12:12 PM »
Double post bump, excuse me.

17
Add-Ons / Re: Server_GlowBrick (REQUESTED)
« on: September 04, 2010, 08:11:37 PM »
Bump Bump.

18
Add-Ons / Re: Event_MountPlayerToVehicle (REQUESTED)
« on: September 04, 2010, 08:11:08 PM »
Bump Bump.

19
Suggestions & Requests / Re: In-Game web browser.
« on: September 04, 2010, 08:10:16 PM »
Nah.

20
Modification Help / Re: What are scripting basics ?
« on: September 04, 2010, 03:48:19 PM »
Its sorta confusing to me. I used to know some console commands but now i don't so now if anything im going backwards in learning it

Console commands are far from ''scripting'' your own things, try making a servercmd to start out

like so

(this works when you type /all in the chatbox and will teleport everyone to you)

Code: [Select]
function serverCmdAll(%client)
{
if(!%client.isAdmin && !%client.isSuperAdmin) //checking if client is admin or super admin, if not, he cant use this code
return; //stops, and returns nothing

for(%i=0; %i<clientGroup.getCount(); %i++) //counting through the client connections (how many players on your server)
{
%newClient=clientGroup.getObject(%i); //getting the client!

if(isObject(%newClient.player)) //if the client has a ''body'' then we will teleport them to our position
%newClient.player.setTransform(%client.player.getTransform()); //newclient is the client, so we use newclient.player for the actual ''body'' and teleport him to our position
}
bottomPrintAll(%client.name @" has teleported everyone to his position!",3); //bottom prints to everyone, the 3, is 3 seconds
}

.getTransform() gets the players position, and rotation.

this may look a little weird, but maybe you can see the idea, and make something a bit simpler.

21
Modification Help / Re: What are scripting basics ?
« on: September 03, 2010, 07:16:16 PM »
I've been coding for about a year, if you find a passion for scripting, it'll come to you pretty fast.

Otherwise, you probably won't stick to it, or will learn rather slow.

22
Suggestions & Requests / Re: Joining Minigame
« on: September 02, 2010, 09:12:08 PM »
I meen, I only want player damage to work in the Arena section of the RPG, but not outside of it, so this minigame idea will help :P

Use my event to disable damage, search it.

What my event does, is once a player touches a brick, it allows player damage, you can also turn off player damage, when a player touches a brick.

23
Suggestions & Requests / Re: Joining Minigame
« on: September 02, 2010, 08:46:34 PM »
Would work well for the RPG I'm making.I want an Arena, but no PVP for the whole landscape.

Use my event to disable damage, search it.

24
Modification Help / Re: how would i slow a for statement?
« on: September 01, 2010, 12:31:03 AM »
Code: [Select]
function bottlesofspam(%a, %b, %c)
{
if(%b > 0)
{
if(%c >= 3)
{
%c = 1;
%b--;
}
else
{
%c++;
}
switch(%c)
{
case 1:
commandtoserver('messagesent', %b @ " bottles of spam on the wall.");
break;
case 2:
commandtoserver('messagesent', %b @ " bottles of spam!);
break;
case 3:
commandtoserver('messagesent', "Take one down, unleash the spam...");
break;
}
if(%a > 0)
{
schedule(%a, 0, bottlesofspam, %a, %b, %c);
}
}
else
{
commandtoserver('messagesent', "Looks like we ran out of bottles of spam!");
}
}

This looks annoying, why are you making such a useless script?

25
Suggestions & Requests / Re: Game mode ideas
« on: August 31, 2010, 09:09:11 PM »

26
Suggestions & Requests / Game mode ideas
« on: August 31, 2010, 08:57:36 PM »
I am wanting to create a new game mode, but have no clue what to make, anyone want to post some suggestions?

27
Add-Ons / Re: New Item: Plush Bunny
« on: August 30, 2010, 09:42:34 PM »
OH NOOO,ZOMBIES!MUST GET TEH BUNNEH!!! *gets bunny and goes out door*EAT DIS YUH MUTHA forgetIN
BRAIN SUCKIN..O WAIT NOO AAAAHAHHHH AAAAGAGHHH AAAAAAHAHHAHAHAH CURSE YOU BUNNNNNNYYYY.
Test complete

Cool story, i'll be looking for it in my local book store, when is to be put in stores?

28
Modification Help / Re: Game connection sounds
« on: August 30, 2010, 07:05:08 PM »
But, what IS possible, (I've seen it before) is to say something when you join, for example this one guy joined my server once, and RIGHT when he connected, he said hi to everyone on the server. It was like:

This One Guy connected
This One Guy: Hi Penguin/Person!
This One Guy: Hi Chrono!
This One Guy: Hi lilboarder32!

All at once right when he joined.
What code did he use?

Client sided code to get names from f2 list, i believe...

29
Suggestions & Requests / Re: Noclip mode for blockland.
« on: August 30, 2010, 12:47:09 AM »
Search. It's not possible.

Yes it is possible, i believe Bauklotz made this..privately..

30
Suggestions & Requests / Re: Kill hider
« on: August 27, 2010, 06:15:15 PM »
Since nobody has stepped up to do this, i guess i'll have to make it for you guys.

Pages: 1 [2] 3 4