- Dokumentacja
- Funkcje serwera
- setElementColShape
Funkcja
setElementColShape
Przypisuje strefę kolizji do znacznika albo pickupa. nil usuwa przypisanie.
Składnia
bool setElementColShape(element theElement, colshape theShape)Argumenty
theElementelement- Znacznik albo pickup.
theShapecolshape- Strefa albo
nil.
Zwraca
true przy powodzeniu.
Przykład
local shape = createColCircle(1500, -1600, 5)
setElementColShape(marker, shape)