| Blockland Forums > Modification Help |
| 2 questions, semicolons and blank emitters/sounds |
| (1/1) |
| YourBuddyBill:
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? |
| Chrono:
--- Code: ---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 --- End code --- --- Quote from: YourBuddyBill on February 17, 2012, 08:06:21 PM ---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? --- End quote --- Just set it to "" |
| YourBuddyBill:
Thanks! And nice avatar, btw. XD |
| Navigation |
| Message Index |