Author Topic: 2 questions, semicolons and blank emitters/sounds  (Read 548 times)

Do brackets always need semicolons after them? I left one out once and got a syntax error but other times it's just fine.

Also, how do I 'blank out' an emitter or sound from a parent? Do I need to create a new audio profile/ emitter datablock or is there already an existing set of 'null' datablocks somewhere?
« Last Edit: February 17, 2012, 08:12:30 PM by YourBuddyBill »

Code: [Select]
thisNeedsASemiColon();
$this = "also needs one";
thisneedsonetoo(butnotinhere(reallydont($alsoNotHere)));
function dontNeedOneForFunctions(%or,%args)
{
if($or $= "if" || $statements $= "either)
{
$but = "the stuff in them do";
}
} //don't put one here
new FileObjects(DoNeedOne);
$inFact = "Any new object does";
datablock PlayerData(SoDoPlayers : PlayerNoJet)
{
andTheirValues = doToo;
};

//also packages need them

Also, how do I 'blank out' an emitter or sound from a parent? Do I need to create a new audio profile/ emitter datablock or is there already an existing set of 'null' datablocks somewhere?
Just set it to ""

Thanks! And nice avatar, btw. XD