Welcome to the Creatures Wiki! Log in and join the community.

POST

From Creatures Wiki
Revision as of 23:06, 15 December 2019 by ScoobyGambit (talk | contribs) (Created page with "{{caosinfobox |name=POST |whatis=function |category= |version=C2/CV/C3/DS |commandparams= |functionparams= |functiontype= |relatedcaos=POSX, POSY, POSR, POS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
POST
This article is about a CAOS command or function.
Category [[:Category:CAOS:|]]
Version C2/CV/C3/DS
Command
Parameters
Function
Parameters
Return type [[CAOS types|]]
Related
CAOS POSX, POSY, POSR, POSL, POSB
Concepts

POST is a CAOS function used to check where the topmost part of an object is, in terms of its bounding box.

Usage[edit]

Function[edit]

Syntax: POST (float)

Returns top position of target's bounding box.

Examples[edit]

From Making a Vendor for C3, used to find the point where the object will come out of the vendor:

setv va00 posl
addv va00 30
setv va01 post
addv va01 10

Note the addition will draw the final vend-point upwards from the top of the vendor.