Jump to content

Auto-spawn EMS/Tow Trucks to the scene if they get stuck


SCPD
 Share

Recommended Posts

Suggestion for (MTA, Forum, website): MTA


Suggestion: Auto-spawn EMS/Tow trucks to the scene if they get stuck and can't free themselves for less than 1 minute.


Why should this be added?: AI is too drunk sometimes to get there by themselves or they spawn up a bridge and can't reach to the targeted destination.


Anything else you'd like to add?: Maybe add the sirens back for EMS?

Link to comment
Share on other sites

Just to add to the suggestion:

(There are some areas here that may be difficult to code because its the AI, but will offer some work arounds)


- Check to see if a unit is already heading out to the area/target by anyone else (Easy enough, just make sure there is only 1 unit per incident)

- Check every 15 seconds for movement by position (You could just auto respawn the unit)

- After maybe 5 minutes or so check to see if the unit made it to the area/target (You could just take the targets out, reward the caller and then remove the unit)


Although just teleporting the unit to the scene is good, it would prove to be a difficult challenge scripting wise...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...