Forums Index >> Modding >> Help With Function Script
Page : <1> :
Maybe its the exclamation mark
BottomPrintAll(%name SPC "Activated" SPC %client.team@ "Team's Goal!",4,1);
Clear enough?
PS I edited the first @ because SPC automatically adds a space, and @ doesnt... The second one shouldnt have a space so I didnt edit it...
if you remember you didnt "join" the activated and %client.team with @ or SPC, generating the script error...
Page : <1> :
I am trying to learn some scripting, and having read some tutorials and stuff have embarked on a new gametype of sorts, but I am having trouble with this function:.
Function GateBGoal::OnEnter(%db,%this,%tank)
{
%client = %this.client;
%name = %client.namebase;
BottomPrintAll(%name@ "Activated" %client.team@ "Team's Goal!",4,1);
$RollerB::GateBAct = true;
}
The following error on the dedecated shows up and I cant work out whats wrong:
BottomPrintAll(%name@ "Activated" %client.##t##eam@ "Team's Goal!",4,1);
Any ideas or suggestions?
Daz
Last edited: Wednesday, January 25, 2006 at 1:47:03 PM