This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:addgameeventatcell [2016/12/02 23:34] – external edit 127.0.0.1 | prpl:addgameeventatcell [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | | | [ - ] | | + | |int string Int Int Int | | [Int String Int Int Int - ] | |
=== Description === | === Description === | ||
+ | |||
+ | Arg.1 Sets color of event tag. 3=red, 2=green, 1=blue, 0=Grey. (There may be more colors) | ||
+ | |||
+ | Arg.2 Sets the text of event tag. | ||
+ | |||
+ | Arg.3 X Coordinate of where line should point | ||
+ | |||
+ | Arg.4 Y Coordinate of where line should point | ||
+ | |||
+ | Arg.5 Amount of time line pointer should be shown (In Frames) | ||
=== Examples === | === Examples === | ||
Line 15: | Line 25: | ||
s1 = GetStringFromStack(); | s1 = GetStringFromStack(); | ||
i1 = GetIntFromStack(); | i1 = GetIntFromStack(); | ||
+ | |||
+ | |||
+ | AddGameEventAtCell(3 "YA LIKE JAZZ?" 237 287 30) | ||
+ | #Makes a red GameEvent that says "YA LIKE JAZZ?" at coords 237 287 that will have a line be shown for 30 Frames(1 Second). | ||
</ | </ | ||