Liberty Unleashed
Liberty Unleashed => Suggestions => Topic started by: SugarD on August 23, 2011, 01:03:38 pm
-
As the title says, it would be pretty cool to have a function called Vehicle.Alarm to set/get the vehicle's alarm status, and to enable/disable it under different conditions, such as attempting to steal or ramming the vehicle hard enough, just like in Single-Player. :)
-
Very nice ;D , it would be usefull for a RP/RPG server
-
Very nice ;D , it would be usefull for a RP/RPG server
Sneaky! I see you knew my plans! :O
-
I would like to see this as well in the future release, I also mentioned this in my suggestions before :)
-
I would think this is already scriptable if you have a horn sound.
-
It's not. We're talking about the actual car alarm, and right now the server can only control the siren and lights on Emergency Vehicles, not the horns.
-
Well, this could be possible, with the use of sounds and light flashing. Maybe every second or two, make the lights toggle on or off, based on their previous state, and make a horn sound play for anybody in range.
EDIT: I think the onVehicleUpdate() callback checks for the movement when unoccupied, and detects what player moved it ... You could use this for an alarm system in the meantime. I gotta check the LU Bible (Wiki) for this however, so don't quote me on this
-
Ya, but that would unnecessarily waste packets syncing it to local users when the actual SP car alarm could be used instead.
-
Thats true, but its a temporary solution in case you don't want to wait for when the actual alarm gets put in
-
True. It's not vital though. I can live without it in the mean time :)