Unknown76 Posted April 19, 2011 Share Posted April 19, 2011 The 3D line is easy to draw but how can it kill people, is it possible to script it coz i have no idea how?! Link to comment
Gungneer Posted April 19, 2011 Share Posted April 19, 2011 I'm still rather new to MTA/LUA myself, but if I was to take a wild stab in the dark, making an object that you want to be used for this and depending on the way it's facing, I would suggesting making createColShapeCuboid for the laser sensor (onColShapeHit/Leave event handlers to do checking and shit) then once triggered, a series of delayed explosions along the mines path? Link to comment
DiSaMe Posted April 19, 2011 Share Posted April 19, 2011 https://wiki.multitheftauto.com/wiki/IsLineOfSightClear https://wiki.multitheftauto.com/wiki/ProcessLineOfSight Link to comment
Unknown76 Posted April 19, 2011 Author Share Posted April 19, 2011 Good tips guys, I will try to make this resource tonight. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now