User Tools

Site Tools


modding:function:objprogramdamage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

modding:function:objprogramdamage [2017/02/05 00:17] – created 0xabcdefmodding:function:objprogramdamage [2017/02/05 00:23] (current) 0xabcdef
Line 18: Line 18:
 <code lisp> <code lisp>
 (block (target) (block (target)
 + (setq target (sysFindObject gPlayerShip "sA N")) 
 + (objProgramDamage target gPlayerShip 'SL4V3R 10 
 + (block Nil 
 + (shpCancelOrders target) 
 + (shpSetEventHandler target &baStdAutonBase;
 + (shpSetController target 'auton) 
 + (objSetSovereign target &svFriendlyAuton;
 + (shpOrder target 'escort gPlayerShip) 
 +
 +
 + )
 </code> </code>
  
-Returns 'ready if autopilot is installed on the playership.+The player launches a cyberattack on the nearest ship. If successful, that ship will be turned into an auton.
  
  
modding/function/objprogramdamage.1486253876.txt.gz · Last modified: 2017/02/05 00:17 by 0xabcdef