public llSetVehicleVectorParam ( int param, Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.Vector3 vec ) : void | ||
param | int | |
vec | Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.Vector3 | |
return | void |
public void llSetVehicleVectorParam(int param, LSL_Vector vec)
{
if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;
if (m_host.ParentEntity != null)
{
if (!m_host.ParentEntity.IsDeleted)
{
m_host.ParentEntity.RootChild.SetVehicleVectorParam(param,
new Vector3((float)vec.x, (float)vec.y, (float)vec.z));
}
}
}