| Blockland Forums > Modification Help |
| Auto Falling Plates code not making plates fall. |
| << < (2/6) > >> |
| Mold:
Name the plate Plate-red Then Put _PlateDASHred.fireinputevent("fall"); in script Or am I wrong |
| Wordy:
--- Quote from: Mold on June 03, 2012, 10:24:09 AM ---Name the plate Plate-red Then Put _PlateDASHred.fireinputevent("fall"); in script Or am I wrong --- End quote --- does DASH represent _ ? why not just put _Plate_red.fireinputevent("fall");? |
| Treynolds416:
--- Quote from: Wordy on June 03, 2012, 09:51:39 AM ---simple mistakes dude --- End quote --- What do you mean |
| phflack:
--- Code: ---%brick = MainBrickGroup.getObject(%i); --- End code --- i feel like %brick is a brickgroup, not an actual brick do another for loop similar to the first, to be more like --- Code: ---for(%a = 0; %a < MainBrickGroup.getCount(); %a++) { for(%b = 0; %b < MainBrickGroup.getObject(%a).getCount(); %b++) { %brick = MainBrickGroup.getObject(%a).getObject(%b); } } --- End code --- |
| Mold:
--- Quote from: Wordy on June 03, 2012, 12:27:54 PM ---does DASH represent _ ? why not just put _Plate_red.fireinputevent("fall");? --- End quote --- DASH represents a - Plate-red would be PlateDASHred Plate_red would be Plate_red |
| Navigation |
| Message Index |
| Next page |
| Previous page |