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 - jes00

Pages: 1 ... 276 277 278 279 280 [281] 282 283 284 285 286 ... 464
4201
Modification Help / Re: Chat Bot Help
« on: June 12, 2012, 03:53:04 PM »
Still not working :/
Oops, forgot a syntax error.
Code: [Select]
package ChatBotYola
{
function clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)
{
Parent::clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg);

if($ChatBotYolaActive)
{
switch$(%msg)
{
case "Hey":
commandToServer('messageSent', "ChatBot: Hey");
}
}

if(%name $= $Pref::Player::NetName)
{
switch$(%msg)
{
case "ChatBot On":
$ChatBotYolaActive = true;

case "ChatBot Off":
$ChatBotYolaActive = false;
}
}
}
};
activatePackage(ChatBotYola);

4202
Suggestions & Requests / Re: Elevators
« on: June 12, 2012, 03:43:22 PM »
You know what.

How about we dont worry about using vehicles or static shapes, and just use complex, brick-made elevators.  You don't even see elevators move in real life (except for them fancy glass elevators), you only ever stand in a box and see the inside.

I find this better because you can also make your elevator look how you want it.
Good point.

4203
Modification Help / Re: Chat Bot Help
« on: June 12, 2012, 03:36:50 PM »
Why doesn't this work?
You forgot a semicolon at the end of a parent.

There is no need for two packages and parents and all that.
Code: [Select]
package ChatBotYola
{
function clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)
{
Parent::clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg);

if($ChatBotYolaActive)
{
switch$(%msg)
{
case "Hey":
commandToServer('messageSent', "ChatBot: Hey");
}
}

if(%name $= $Pref::Player::NetName)
{
switch$(%msg)
{
case "ChatBot On":
$ChatBotYolaActive = true;

case "ChatBot Off"
$ChatBotYolaActive = false;
}
}
}
};
activatePackage(ChatBotYola);

4204
Suggestions & Requests / Re: Elevators
« on: June 12, 2012, 03:02:56 PM »
I was thinking what is an elevator in reality... A vehicle!
So why not make a special vehicle with no mount points so the player can stand on it and use events to move it.
Not only would it be able to go up and down but also sideways, longways, diagnal ways, shortways, and sideways. (let me know if you get the reference)
I got the reference :) Willy Wonka

4205
Help / Re: Chat Lag
« on: June 12, 2012, 08:42:10 AM »
nvm http://www.mediafire.com/?pt91gu5cxhea55f
While posting you can just push the Additional Options button and click Choose File and select your console log.

4206
Modification Help / Re: Mars Mission Pack
« on: June 12, 2012, 06:38:26 AM »
Cool.

4207
Modification Help / Re: Chat Bot Help
« on: June 12, 2012, 06:29:58 AM »
...

I'm not asking for tips as to how to make this 'better'
I'm asking as to why it won't work
Still, it doesn't hurt.

4208
Modification Help / Re: Chat Bot Help
« on: June 11, 2012, 08:17:16 PM »
Yes, if you do %name $= "¥ola"
Noo, if(%name $= $Pref::Player::NetName) works way better.

4209
This is the VCE Client correct?

4210
Modification Help / Re: Custom GUI Control
« on: June 10, 2012, 06:24:19 AM »
In that case you could use a profile. Look at the above posts.
I tried using a profile before but when I saved the GUI and then restarted Blockland and loaded it it reset the profile back to what it was originally.

4211
Modification Help / Re: Custom GUI Control
« on: June 09, 2012, 04:08:07 PM »
what are you unable to do with the current set of gui controls that you need to make a new one to accomplish?
Good point. I just thought for some custom bitmaps and stuff it would be more convenient to just be able to select a GUI control for it.

4212
Modification Help / Re: Custom GUI Control
« on: June 09, 2012, 03:37:56 PM »
That's a profile.

He wants to create custom classes for GUIs (examples of existing ones: guiBitmapCtrl, guiSwatchCtrl).
Indeed.

4213
Modification Help / Custom GUI Control
« on: June 09, 2012, 02:55:40 PM »
Does anyone know of a way to make a custom GUI control?

4214
Modification Help / Re: Simple Script Help
« on: June 09, 2012, 01:26:42 PM »
One more quick question,
Is their a simple way to add relative velocity to a player?
Not client sided.

4215
Modification Help / Re: Simple Script Help
« on: June 09, 2012, 11:18:07 AM »
Alright, I'm trying to refresh myself with Torque's functions and whatnot

And somehow I seem to run into a problem

Code: [Select]
if(!$JoinMessage::Binds)
{
$remapDivision[$remapCount]="Join Message";
$remapName[$remapCount]="Toggle On/Off";
$remapCmd[$remapCount]="toggleJoinMessage";
$remapCount++;
$JoinMessage::Binds=1;
}

function ClientCmd_ClientJoin(%client)
{
messageAll('',"Welcome, %client.");
}

function toggleJoinMessage(%a)
{
if(!%a)
return;
if($JoinMessage::On)
{
$JoinMessage::On = false;
clientcmdcenterPrint("\c6Join message disabled.", 2);
}
else
{
$JoinMessage::On = true;
clientcmdcenterPrint("\c6Join Message enabled.", 2);
}
}

I realize it's a JoinMessage, I'm not planning on using it, simply to learn a few things
Few things.
1. ClientCmd_ClientJoin is a non existant function.
2. messageAll is server sided.

Pages: 1 ... 276 277 278 279 280 [281] 282 283 284 285 286 ... 464