User Tools

Site Tools


prpl:setemittertargetprobability

Differences

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

Link to this comparison view

Next revision
Previous revision
prpl:setemittertargetprobability [2016/12/02 23:34] – external edit 127.0.0.1prpl:setemittertargetprobability [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]
  
-=====  SETEMITTERTARGETPROBABILITY  =====+=====  SetEmitterTargetProbability  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+Emitter Prob | | [ UID float - ] |
  
  
 === Description === === Description ===
 +Set the target probability of an Emitter, as changing the value in-editor. Targets energy sources by default, set the probbility of targeting Emitters or ships if required.
  
 === Examples === === Examples ===
-<code> i2 = GetIntFromStack(); // targetProbability  +<code> 
- i1 = GetIntFromStack(); // UID  +<-Emitter 0.5 SetEmitterTargetProbability
- +
 </code> </code>
  
prpl/setemittertargetprobability.1480721644.txt.gz · Last modified: 2025/02/14 14:56 (external edit)