- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]
===== CreateEffect =====
^Arguments^Result^Notation^
| Effect name, X pixel coord, Y pixel coord | GUID | [ s1 f1 f2 - i1 ] |
=== Description ===
Names are not case sensitive. Coordinates are Pixel Coordinates.
^ Known Effects ^^
^ Name ^ Description ^
| ''"JumpIn"'' | The same effect that plays when your HQ jumps in. |
| ''"JumpOut"'' | The same effect that plays when your HQ jumps out or is destroyed. |
| ''"PortalIn"'' | The effect that loops for particle-teleporting rifts in the story. |
| ''"PortalOut"'' | The effect that loops for particle-teleporting rifts in the story. |
=== Examples ===
# Create "JUMPIN" effect at this core
"JUMPIN" CurrentPixelCoords CreateEffect ->GUID
f2 = GetFloatFromStack(); //pixel y
f1 = GetFloatFromStack(); //pixel x
s1 = GetStringFromStack(); //Which effect
stack.Push(new Data(s.GUID));