Author Topic: RSO  (Read 1174 times)

0 Members and 1 Guest are viewing this topic.

Phaserbank

  • Guest
dumb question. is there a sexpee or some way to identify the location, speed, and direction of a ship that is attacking the player? I went digging around and couldn't find anything.

The entire intent of this is to have the eqivalent of a rear seat officer giving you information through a dogfight. 

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Location, yes. Use get-object-x, get-object-y, and get-object-z. It will take slightly fancier FREDding to get these coordinates relative to the player.

Orientation, no. Speed...not sure. Don't think so.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Theoretically you could calculate the speed by having the event trigger every second and doing distance checks, storing to variables, and some math.  Hate to try to FRED that mess though. 

Direction I don't want to even think of.  I mean you could use 2 subsystems on the same ship and your ships position to do some calculations but I think this one might be one for scripting.  Actually both of these might but I'm not into scripting.   
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 
What's wrong with Status -> Ship status -> current-speed?

  

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
As FUBAR said all that can be done via scripting.
Do not meddle in the affairs of coders for they are soggy and hard to light