| Blockland Forums > Suggestions & Requests |
| Vehicle Spawn Update |
| << < (2/2) |
| elm:
--- Quote from: otto-san on April 14, 2013, 07:39:32 PM ---ooh that'd be neat could be done as a mod, but it'd make twice as many vehicle datablocks unless you executed it a different way --- End quote --- What? This is a simple thing to do, would only take a few lines of code lol. |
| otto-san:
--- Quote from: elm on April 14, 2013, 08:20:59 PM ---What? This is a simple thing to do, would only take a few lines of code lol. --- End quote --- which is why i crossed out that part |
| RagnaTheBroedge:
--- Quote from: Greek2me on April 14, 2013, 07:58:24 PM ---What about the new setVehiclePowered event? (it's default) --- End quote --- still allows players to get in |
| MARBLE MAN:
package noRide { function Armor::onMount(%this,%player,%obj,%a,%b,%c,%d,%e,%f) { if(isObject(%obj.spawnBrick) && isObject(%player.client) && %obj.getDatablock().rideable) { if(%obj.spawnBrick.noRide) return; } Parent::onMount(%this,%player,%obj,%a,%b,%c,%d,%e,%f); } }; activatepackage(noRide); now someone add an event to toggle "noRide" on a brick untested |
| Navigation |
| Message Index |
| Previous page |