Jump to content

Scripting Tutorial 2 - MTA Snow


ijsf

Recommended Posts

Posted

i can think of a way doing that in race map editor... put down tanks to shoot (block them from moving) and let hydra's be the flying thingies...

only hydras would shoot at eachother (to block them from doing that you will have to wait for DM i think) and people and tanks would be extremly bored... and probably never hit... with scripting you could make it more fun maybe... by making scripts that will teleport you back to the beginning when you hit the end or something like that. that could give people in tanks a lot of fun... cause they get to retry every 30 seconds or so... and hydra's would be flying pretty long...

one question about this though: if we would do this, and teleport the hydra's back to the beginning, would they keep their speed when teleported?

Posted
Will there ever be a function to check whether object has hit the ground?

well you can calculate the time it takes for an object to fall..

Posted
Will there ever be a function to check whether object has hit the ground?

well you can calculate the time it takes for an object to fall..

Or you can use event triggers :roll: . I don't think you'll have to calculate collision events.

Posted

It would have to be triggered clientside, as servers can't see the map. There could be some sync or security issues with doing it clientside though.

Posted
Will there ever be a function to check whether object has hit the ground?

Nope, it's impossible to do it accurately server-side as Jon said.

Posted
IMO this is`nt so cool as teleport and crazy clothes.

once again, you are missing the point these tutorials are about.. if you want to see the 'cool stuff' watch the christmas vid, if you want to find out how all those things were made possible read the tutorials..

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...