# Create
Grammar — Create actor content
Flags —Function
Constructs and returns a Create actor message. This message will create an actor. Content parameter is optional. Works on all actor types.
# Arguments
string
— Actorstring
— Content
Returns — string
<actormsg>
string libNtve_gf_Create(
string lp_actor,
string lp_content,
);
# 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/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18157
if ((CatalogEntryIsValid(c_gameCatalogSound, lv_sound) == true) && (CatalogEntryIsDefault(c_gameCatalogSound, lv_sound) == false)) {
if ((CatalogEntryIsValid(c_gameCatalogSound, lv_soundWithSuffix) == true) && (CatalogEntryIsDefault(c_gameCatalogSound, lv_soundWithSuffix) == false)) {
ActorSend(libNtve_gf_MainActorofUnit(lv_heroUnit), libNtve_gf_Create((libGame_gv_lootVoiceLineActor), (lv_soundWithSuffix)));
}
else {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18160
}
else {
ActorSend(libNtve_gf_MainActorofUnit(lv_heroUnit), libNtve_gf_Create((libGame_gv_lootVoiceLineActor), (lv_sound)));
}
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18241
ActorScopeSend(lv_scope, "Signal LootSprayKill");
ActorSend(ActorFromScope(lv_scope, "::Main"), libNtve_gf_Create(libCore_gv_mountModelActor3, (libGame_gv_players[lv_sprayingPlayer].lv_lootContent.lv_loot_Spray.lv_sprayModelID)));
ActorSend(ActorFromScope(lv_scope, libCore_gv_mountModelActor3), libNtve_gf_SpraySet(lv_spray));
if ((lv_mapID == "")) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18598
ActorSend(lv_heroActor, "PhysicsTerminate");
lv_mountModel = libGame_gv_players[lv_mountIndex].lv_mountData.lv_mountModel;
ActorSend(lv_heroActor, libNtve_gf_Create(lv_actorNameForMount, (lv_mountModel)));
lv_mountActor = ActorFromActor(lv_heroActor, lv_actorNameForMount);
libCore_gf_SendMountActorMessagesToActor(lv_mountIndex, lv_mountActor);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18621
ActorSend(lv_heroActor, libNtve_gf_SetWalkAnimMoveSpeed(lv_mountWalkAnimMoveSpeed));
ActorSend(lv_mountActor, libNtve_gf_Signal("MountSound"));
ActorSend(lv_heroActor, libNtve_gf_Create((libGame_gv_players[lv_mountIndex].lv_mountData.lv_mountUpFXActor), ""));
if ((libGame_gv_players[lv_mountIndex].lv_mountData.lv_mountSound != "")) {
ActorSend(lv_heroActor, libNtve_gf_Create("MountDismountSound", (libGame_gv_players[lv_mountIndex].lv_mountData.lv_mountSound)));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18623
ActorSend(lv_heroActor, libNtve_gf_Create((libGame_gv_players[lv_mountIndex].lv_mountData.lv_mountUpFXActor), ""));
if ((libGame_gv_players[lv_mountIndex].lv_mountData.lv_mountSound != "")) {
ActorSend(lv_heroActor, libNtve_gf_Create("MountDismountSound", (libGame_gv_players[lv_mountIndex].lv_mountData.lv_mountSound)));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18627
if ((libGame_gv_players[lv_mountIndex].lv_mountData.lv_loopingSound != "")) {
ActorSend(lv_heroActor, libNtve_gf_Create("MountLoopingSound", (libGame_gv_players[lv_mountIndex].lv_mountData.lv_loopingSound)));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18631
if ((libGame_gv_players[lv_mountIndex].lv_mountData.lv_stationarySound != "")) {
ActorSend(lv_heroActor, libNtve_gf_Create("MountStationarySound", (libGame_gv_players[lv_mountIndex].lv_mountData.lv_stationarySound)));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18635
if ((libGame_gv_players[lv_mountIndex].lv_mountData.lv_movingSound != "")) {
ActorSend(lv_heroActor, libNtve_gf_Create("MountMovingSound", (libGame_gv_players[lv_mountIndex].lv_mountData.lv_movingSound)));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:18735
ActorSend(lv_heroActor, libNtve_gf_SetWalkAnimMoveSpeed(lv_heroWalkAnimMoveSpeed));
if ((UnitIsAlive(lv_dismountingUnit) == true)) {
ActorSend(lv_heroActor, libNtve_gf_Create((libGame_gv_players[lv_mountIndex].lv_mountData.lv_dismountFXActor), ""));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:10791
lv_heroUnit = libGame_gv_players[lv_triggeringPlayer].lv_heroUnit;
if ((UnitIsAlive(lv_heroUnit) == true)) {
ActorSend(libNtve_gf_MainActorofUnit(lv_heroUnit), libNtve_gf_Create((libUIUI_gv_uIDebugPanelVoiceLineActor), lv_soundID));
}
else {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:10811
lv_heroUnit = libGame_gv_players[lv_triggeringPlayer].lv_heroUnit;
if ((UnitIsAlive(lv_heroUnit) == true)) {
ActorSend(libNtve_gf_MainActorofUnit(lv_heroUnit), libNtve_gf_Create((libUIUI_gv_uIDebugPanelVoiceLineActor), lv_soundID));
}
else {