This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
functions:packshorts [2017/03/19 18:10] – korshun | functions:packshorts [2017/03/21 15:05] – korshun | ||
---|---|---|---|
Line 28: | Line 28: | ||
// Pack rounded 2D actor position into a single integer. | // Pack rounded 2D actor position into a single integer. | ||
int pos = PackShorts(GetActorX(0)>> | int pos = PackShorts(GetActorX(0)>> | ||
- | ACS_ExecuteAlways(somescript, | + | ACS_ExecuteAlways(somescript, |
} | } | ||
- | script somescript (int stuff, int stuff, int pos) | + | script somescript (int stuff1, int stuff2, int pos) |
{ | { | ||
// Extract actor position | // Extract actor position |