This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:addgameevent [2016/12/02 23:34] – external edit 127.0.0.1 | prpl:addgameevent [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | |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)); | ||
| + | |||
| + | | ||
| + | #This example will make a blue Game Event with the text "Blue Particle Emitter has spawned!" | ||
| </ | </ | ||