We've all seen it happen. We sip our morning coffee while an ambulance rushes past the local cafe. Ehh...
But, on the other line, the person you don't see, is that ambulance that's blocking morning traffic to work. You walk out of the cafe, and hop into your car, and then begin your commute to work. The Traffic is jammed, and you can barely see the ambulance up ahead. The usual morning torture...Ehh.....
But, how did the ambulance know there was an emergeancy? How did the Ambulance Driver know where to go, or if there was even a problem? That, my friends, is another mystery of the human brain, which we'll never figure out...Too bad for us...Which leads me to my question:
How do I use the "nearestobject" command correctly, or is there such a command? What I want to do, is have an ambulance, I'll use the variable _AmbulanceDriver for an ambulance driver, and _Ambulance for an Ambulance which the _AmbulanceDriver drives.
What I want to know, is a way to make _AmbulanceDriver, drive that _Ambulance to the nearest dead-body, and when in range, 17 ft. or so, have the body transferred into the _Ambulance, and then the Driver drives back to where he came from, preferably _EMGIN. So, _AmbulanceDriver gets there, the patient is revived (setdammage 0) and is teleported to _EMGOUT.
Any idea how I do this? If not, how do I use the "NearestObject" command. How do I set that command to a class? Or set it to a certain property, preferrably detecting if something is dead?
Is this all too complicated? Am I on drugs? Do I need an ambulance? Does everything look dizzy? Why am I steaming? The world may never know? The End? What IS 2+2? 4 = 2+2...Heh...Errr....
Thank you for any-help, and-or just reading all this...Any comment, even the slightest, would be greatly appreciated!
-RunAwayScientist (Cheese Please!)