# Actor Msg 2
Flags —
Function
|Internal
Constructs and returns an actor message with two parameters. The actor message returned is formed by combining the Msg Name, Param 1, and Param 2 string parameters. This function is primarily used by other “Actor” type functions to assemble actor messages, although it can be used to assemble any actor message from scratch with the right know-how.
# Arguments
string
— Msg Namestring
— Param 1string
— Param 2
Returns — string
<actormsg>
string libNtve_gf_ActorMsg2(
string lp_msgName,
string lp_param1,
string lp_param2,
);
# Related
Category: Actor / Message Constructors
- Actor Msg 1 —
string
<actormsg> — libNtve_gf_ActorMsg1 - Actor Msg 2 —
string
<actormsg> — libNtve_gf_ActorMsg2 - Actor Msg 3 —
string
<actormsg> — libNtve_gf_ActorMsg3 - Actor Msg 4 —
string
<actormsg> — libNtve_gf_ActorMsg4 - Action Damage —
string
<actormsg> — libNtve_gf_ActionDamage - Action Impact —
string
<actormsg> — libNtve_gf_ActionImpact - Alias Add —
string
<actormsg> — libNtve_gf_AliasAdd - Alias Remove —
string
<actormsg> — libNtve_gf_AliasRemove - Anim Baseline Start —
string
<actormsg> — libNtve_gf_AnimBaselineStart - Anim Baseline Stop —
string
<actormsg> — libNtve_gf_AnimBaselineStop - Anim Blend Time Apply —
string
<actormsg> — libNtve_gf_AnimBlendTimeApply - Anim Blend Time Remove —
string
<actormsg> — libNtve_gf_AnimBlendTimeRemove - Anim Bracket Resume —
string
<actormsg> — MakeMsgAnimBracketResume - Anim Bracket Start —
string
<actormsg> — MakeMsgAnimBracketStart - Anim Bracket Stop —
string
<actormsg> — MakeMsgAnimBracketStop - Anim Clear —
string
<actormsg> — libNtve_gf_AnimClear - Anim Clear All But —
string
<actormsg> — libNtve_gf_AnimClearAllBut - Anim Dump DB —
string
<actormsg> — libNtve_gf_AnimDumpDB - Anim Group Apply —
string
<actormsg> — MakeMsgAnimGroupApply - Anim Group Remove —
string
<actormsg> — MakeMsgAnimGroupRemove - Anim Group Remove All —
string
<actormsg> — libNtve_gf_AnimGroupRemoveAll - Anim Play —
string
<actormsg> — MakeMsgAnimPlay - Anim Play Sequence —
string
<actormsg> — libNtve_gf_AnimPlaySequence - Anim Set Completion —
string
<actormsg> — libNtve_gf_AnimSetCompletion - Anim Set Duration —
string
<actormsg> — libNtve_gf_AnimSetDuration - Anim Set Paused —
string
<actormsg> — libNtve_gf_AnimSetPaused - Anim Set Time —
string
<actormsg> — libNtve_gf_AnimSetTime - Anim Set Time Scale —
string
<actormsg> — libNtve_gf_AnimSetTimeScale - Anim Set Time Scale Global —
string
<actormsg> — libNtve_gf_AnimSetTimeScaleGlobal - Attach Set Bearings —
string
<actormsg> — libNtve_gf_AttachSetBearings - Attach Set Bearings From —
string
<actormsg> — libNtve_gf_AttachSetBearingsFrom - Attach Set Position —
string
<actormsg> — libNtve_gf_AttachSetPosition - Attach Set Position From —
string
<actormsg> — libNtve_gf_AttachSetPositionFrom - Attach Set Rotation —
string
<actormsg> — libNtve_gf_AttachSetRotation - Attach Set Rotation From —
string
<actormsg> — libNtve_gf_AttachSetRotationFrom - Create —
string
<actormsg> — libNtve_gf_Create - Create Copy —
string
<actormsg> — libNtve_gf_CreateCopy - Death Customize —
string
<actormsg> — libNtve_gf_DeathCustomize - Destroy —
string
<actormsg> — libNtve_gf_Destroy - HostSiteOpsSet —
string
<actormsg> — libNtve_gf_HostSiteOpsSet - List Add —
string
<actormsg> — libNtve_gf_ListAdd - List Remove —
string
<actormsg> — libNtve_gf_ListRemove - Missile Tentacle Return —
string
<actormsg> — libNtve_gf_MissileTentacleReturn - Model Event Suppress —
string
<actormsg> — libNtve_gf_ModelEventSuppress - Model Swap —
string
<actormsg> — libNtve_gf_ModelSwap - Mover Set Acceleration —
string
<actormsg> — libNtve_gf_MoverSetAcceleration - Mover Set Deceleration —
string
<actormsg> — libNtve_gf_MoverSetDeceleration - Mover Set Destination 2D —
string
<actormsg> — libNtve_gf_MoverSetDestination2D - Mover Set Destination From —
string
<actormsg> — libNtve_gf_MoverSetDestinationFrom - Mover Set Destination H —
string
<actormsg> — libNtve_gf_MoverSetDestinationH - Mover Set Destination Z —
string
<actormsg> — libNtve_gf_MoverSetDestinationZ - Mover Set Speed —
string
<actormsg> — libNtve_gf_MoverSetSpeed - Mover Set Speed Max —
string
<actormsg> — libNtve_gf_MoverSetSpeedMax - Mover Set Speed From Duration —
string
<actormsg> — libNtve_gf_MoverSetSpeedFromDuration - Mover Move —
string
<actormsg> — libNtve_gf_MoverMove - Mover Stop —
string
<actormsg> — libNtve_gf_MoverStop - Mover Stop Now —
string
<actormsg> — libNtve_gf_MoverStopNow - Multiply Scale —
string
<actormsg> — libNtve_gf_MultiplyScale - Print —
string
<actormsg> — libNtve_gf_Print - Query Persistent —
string
<actormsg> — libNtve_gf_QueryPersistent - Query Radius —
string
<actormsg> — libNtve_gf_QueryRadius - Query Region —
string
<actormsg> — libNtve_gf_QueryRegion - Ref Clear —
string
<actormsg> — libNtve_gf_RefClear - Ref Create —
string
<actormsg> — MakeMsgRefCreate - Ref Destroy —
string
<actormsg> — libNtve_gf_RefDestroy - Ref Dump —
string
<actormsg> — libNtve_gf_RefDump - Ref Notify —
string
<actormsg> — libNtve_gf_RefNotify - Ref Set —
string
<actormsg> — libNtve_gf_RefSet - Ref Set From Msg —
string
<actormsg> — libNtve_gf_RefSetFromMsg - Ref Set From Actor —
string
<actormsg> — libNtve_gf_RefSetFromActor - Ref Set From Request —
string
<actormsg> — MakeMsgRefSetFromRequest - Ref Set Refresh Name —
string
<actormsg> — libNtve_gf_RefSetRefreshName - Ref Table Dump —
string
<actormsg> — MakeMsgRefTableDump - Set Bearings —
string
<actormsg> — libNtve_gf_SetBearings - Set Bearings From —
string
<actormsg> — libNtve_gf_SetBearingsFrom - Set Bearings H —
string
<actormsg> — libNtve_gf_SetBearingsH - Set Facing —
string
<actormsg> — libNtve_gf_SetFacing - Set Height —
string
<actormsg> — libNtve_gf_SetHeight - Set Opacity —
string
<actormsg> — libNtve_gf_SetOpacity - Set Physics State —
string
<actormsg> — MakeMsgSetPhysicsState - Set Position —
string
<actormsg> — libNtve_gf_SetPosition - Set Position 2D —
string
<actormsg> — libNtve_gf_SetPosition2D - Set Position 2D H —
string
<actormsg> — libNtve_gf_SetPosition2DH - Set Position From —
string
<actormsg> — libNtve_gf_SetPositionFrom - Set Position H —
string
<actormsg> — libNtve_gf_SetPositionH - Set Render To Texture Enabled —
string
<actormsg> — libNtve_gf_SetRenderToTextureEnabled - Set Rotation —
string
<actormsg> — libNtve_gf_SetRotation - Set Rotation From —
string
<actormsg> — libNtve_gf_SetRotationFrom - Set Scale —
string
<actormsg> — libNtve_gf_SetScale - Set Scale Absolute —
string
<actormsg> — libNtve_gf_SetScaleAbsolute - Set Team Color —
string
<actormsg> — libNtve_gf_SetTeamColor - Set Local Tint Color —
string
<actormsg> — libNtve_gf_SetLocalTintColor - Set Tint Color —
string
<actormsg> — libNtve_gf_SetTintColor - Set Visibility —
string
<actormsg> — libNtve_gf_SetVisibility - Set Walk Anim Move Speed —
string
<actormsg> — libNtve_gf_SetWalkAnimMoveSpeed - Set Z —
string
<actormsg> — libNtve_gf_SetZ - Signal —
string
<actormsg> — libNtve_gf_Signal - Sound Add DSP —
string
<actormsg> — libNtve_gf_SoundAddDSP - Sound Set Muted —
string
<actormsg> — libNtve_gf_SoundSetMuted - Sound Set Offset —
string
<actormsg> — libNtve_gf_SoundSetOffset - Sound Set Paused —
string
<actormsg> — libNtve_gf_SoundSetPaused - Status Decrement —
string
<actormsg> — libNtve_gf_StatusDecrement - Status Increment —
string
<actormsg> — libNtve_gf_StatusIncrement - Texture Dump —
string
<actormsg> — libNtve_gf_TextureDump - Texture Dump DB —
string
<actormsg> — libNtve_gf_TextureDumpDB - Texture Group Apply —
string
<actormsg> — libNtve_gf_TextureGroupApply - Texture Group Remove —
string
<actormsg> — libNtve_gf_TextureGroupRemove - Texture Select By ID —
string
<actormsg> — libNtve_gf_TextureSelectByID - Texture Select By Match —
string
<actormsg> — MakeMsgTextureSelectByMatch - Texture Select By Slot —
string
<actormsg> — MakeMsgTextureSelectBySlot - Texture Video Play (Advanced) —
string
<actormsg> — MakeMsgTextureVideoPlay - Texture Video Play —
string
<actormsg> — libNtve_gf_MakeMsgTextureVideoPlay - Texture Video Set Frame (Advanced) —
string
<actormsg> — MakeMsgTextureVideoSetFrame - Texture Video Set Frame —
string
<actormsg> — libNtve_gf_TextureVideoSetFrame - Texture Video Set Paused (Advanced) —
string
<actormsg> — MakeMsgTextureVideoSetPaused - Texture Video Set Paused —
string
<actormsg> — libNtve_gf_TextureVideoSetPaused - Texture Video Set Time (Advanced) —
string
<actormsg> — MakeMsgTextureVideoSetTime - Texture Video Set Time —
string
<actormsg> — libNtve_gf_TextureVideoSetTime - Texture Video Stop (Advanced) —
string
<actormsg> — MakeMsgTextureVideoStop - Texture Video Stop —
string
<actormsg> — libNtve_gf_TextureVideoStop - Texture Video Stop All —
string
<actormsg> — libNtve_gf_TextureVideoStopAll - Timer Set —
string
<actormsg> — libNtve_gf_TimerSet - Timer Kill —
string
<actormsg> — libNtve_gf_TimerKill - Transition —
string
<actormsg> — MakeMsgTransition
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:540
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimClear", lp_animName, FixedToString(lp_blendTime, c_fixedPrecisionAny));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:546
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimClearAllBut", lp_animName, FixedToString(lp_blendTime, c_fixedPrecisionAny));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:564
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimPlaySequence", lp_animName, lp_sequenceList);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:570
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimSetCompletion", lp_animName, FixedToString(lp_percent, c_fixedPrecisionAny));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:576
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimSetCompletion", lp_animName, FixedToString(lp_duration, c_fixedPrecisionAny));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:599
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimSetTimeScale", lp_animName, FixedToString(lp_scale, c_fixedPrecisionAny));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:611
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AttachSetBearings", lp_attachMethods, lp_bearings);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:623
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AttachSetPosition", lp_attachMethods, lp_position);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:635
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AttachSetRotation", lp_attachMethods, FixedToString(lp_rotation, c_fixedPrecisionAny));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:647
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("Create", lp_actor, lp_content);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:423
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimClear", lp_animName, FixedToString(lp_blendTime, c_fixedPrecisionAny));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:429
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimClearAllBut", lp_animName, FixedToString(lp_blendTime, c_fixedPrecisionAny));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:447
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimPlaySequence", lp_animName, lp_sequenceList);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:453
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimSetCompletion", lp_animName, FixedToString(lp_percent, c_fixedPrecisionAny));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:459
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimSetCompletion", lp_animName, FixedToString(lp_duration, c_fixedPrecisionAny));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:482
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AnimSetTimeScale", lp_animName, FixedToString(lp_scale, c_fixedPrecisionAny));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:494
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AttachSetBearings", lp_attachMethods, lp_bearings);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:506
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AttachSetPosition", lp_attachMethods, lp_position);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:518
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("AttachSetRotation", lp_attachMethods, FixedToString(lp_rotation, c_fixedPrecisionAny));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:536
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("Create", lp_actor, lp_content);
}