User Tools

Site Tools


prpl:initmissile

Differences

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

Link to this comparison view

Last revisionBoth sides next revision
prpl:initmissile [2016/12/02 18:33] – external edit 127.0.0.1prpl:initmissile [2017/07/21 20:46] – content, needs a better example. GoodMorning
Line 1: Line 1:
 <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]
  
-=====  INITMISSILE  =====+=====  InitMissile  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+Missile Target Enemy | | [ UID PID bool - ] |
  
  
 === Description === === Description ===
 +Sets the target of a missile. FIXME May or may not work on missiles generated by built-in units.
 +
 +Target is a PID, which can be virtual. Enemy seems to be whether the missile is enemy.
  
 === Examples === === Examples ===
-<code>i3 = GetIntFromStack(); //Enemy bool  +<code> 
-i2 = GetIntFromStack(); //Target Particle UID (can be virtual)  +"Missile" CurrentCoords CreateUnit <-Target 0 InitMissile
-i1 = GetIntFromStack(); //Missile UID  +
- +
 </code> </code>
  
prpl/initmissile.txt · Last modified: 2017/10/28 02:48 by GameGibu