User Tools

Site Tools


prpl:addgameevent

<- PRPL reference <- Everything Else 2

ADDGAMEEVENT

ArgumentsResultNotation
int string [Int String - ]

Description

Arg.1 Color of Game Event. Possible colors are 3=red 2=green 1=blue 0=grey

Arg.2 Text of Game Event.

Examples

	s1 = GetStringFromStack(); 
	i1 = GetIntFromStack(); 
		stack.Push(new Data(pos)); 

   AddGameEvent(1 "Blue Particle Emitter has spawned!")
   #This example will make a blue Game Event with the text "Blue Particle Emitter has spawned!".
 
prpl/addgameevent.txt · Last modified: 2017/05/02 22:07 by Nicant