User Tools

Site Tools


prpl:createeffect

<- PRPL reference <- Everything Else 2

CreateEffect

ArgumentsResultNotation
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)); 
 
prpl/createeffect.txt · Last modified: 2017/10/30 20:53 by GameGibu