CryAction

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article

Overview

These bindings are in the CryAction table.

Drawing

PersistantSphere(pos, radius, color, name, timeout)
PersistantLine(start, end, color, name, timeout)
PersistantArrow(pos, radius, color, dir, name, timeout)
Persistant2DText(text, size, color, name, timeout)
display text with a fadeout

Misc

GetWaterInfo(pos)
returns water information - level,normal,flow - at position
pos - position, a vector
example - Game/Scripts/Entities/actor/BasicActor.lua, StartBleeding function checks if body part is bleeding in water or not
IsGameObjectProbablyVisible(entityId)
ActivateEffect(name)


ScheduleEndLevel(levelname)
corresponds to the Mission:EndLevelNew flow node, useful for internal demo setup (e.g. going from minigame level back to city level)
by Avatar Reality
Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools