Quote:
Originally Posted by lancelot9
Welll. Ok here it goes.
First of all the T-3a scriptline and the T-4c SL are interlocked with eachother, this means you have to devide them with a sub script line (such as a simple action command), like you split them apart. Its kinda like shoe strings, you cant walk with both foot's shoes strings tied together, so you tie them seperatly.
PHP Code:
//GS1
if (startswith(coat,#c))
{
if (playerenters) {
playlooped fire-torch2.wav; > (Sub SL)
}
setplayerprop #c(1),#T(#e(4,-1,#c));
if (created) {
y=56.6;
setcoloreffect 0,1,0,0.2;
drawaslight;
}!!(7x(4x+5=3+2x))x a+b=c/Dtall;[Alphatest]
}
//my gs2 nightmare
if(str.starts("coat"))
{
player.colors[1]=??????????
}
Second I have no idea what im talking about
|
Hrm, try to use code blocks for things like that. And also, in your gscript1 version of it, you should not be using code outside event blocks.
PHP Code:
if(player.chat.starts("coat")) {
player.colors[1] = player.chat.substring("coat".length(), -1).trim();
}