User Tools

Site Tools


prpl:addgameevent

Differences

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

Link to this comparison view

prpl:addgameevent [2016/12/02 18:34] – external edit 127.0.0.1prpl:addgameevent [2017/05/02 22:07] (current) Nicant
Line 4: Line 4:
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+|int string | | [Int String - ] |
  
  
 === Description === === 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 === === Examples ===
Line 13: Line 16:
  i1 = GetIntFromStack();   i1 = GetIntFromStack(); 
  stack.Push(new Data(pos));   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!".
    
 </code> </code>
  
prpl/addgameevent.1480721640.txt.gz · Last modified: 2017/05/02 22:07 (external edit)