# Last Created Actor by Message
Grammar — Last created actor by message
Flags —Function
Returns the last actor successfully created by the user via cheat, data or script. Includes actors created by the Create message, but only if it is sent via cheat or script. Does not include AutoCreates, request creates, or Create messages in response to actor events.
Returns — actor
actor libNtve_gf_ActorLastCreatedSend();
# Related
Category: Actor / Create Actors
- Attach Model To Unit —
actor
— libNtve_gf_AttachModelToUnit - Attach Model To Unit (Inherit Visibility) —
actor
— libNtve_gf_AttachModelToUnitInheritVisibility - Attach Model To Actor —
actor
— libNtve_gf_AttachModelToActor2 - Last Created Actor Scope —
actorscope
— libNtve_gf_ActorScopeLastCreated - Last Created Actor Scope by Message —
actorscope
— libNtve_gf_ActorScopeLastCreatedSend - Last Created Actor —
actor
— libNtve_gf_ActorLastCreated - Last Created Actor by Message —
actor
— libNtve_gf_ActorLastCreatedSend - Attach Actor To Unit —
actor
— libNtve_gf_AttachActorToUnit - Attach Actor To Actor —
actor
— libNtve_gf_AttachActorToActor - Create Actor Scope —
actorscope
— ActorScopeCreate - Create Actor —
actor
— ActorCreate - Create Actor Region —
actor
— ActorRegionCreate - Create Actor At Point —
actor
— libNtve_gf_CreateActorAtPoint - Create Model At Point —
actor
— libNtve_gf_CreateModelAtPoint - Create Model With Point Facing —
void
— libNtve_gf_CreateModelWithPointFacing - Actor Scope Move To —
void
— ActorScopeMoveTo
# Examples
mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmod — base.stormdata/LibVLSS.galaxy:122
SoundPlayForPlayer(SoundLink("UI_Game_Ping_Volskaya_Event_Start", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Ally", null, null, null);
libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound = libNtve_gf_ActorLastCreatedSend();
ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Enemy", null, null, null);
libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_enemy_LoopingSound = libNtve_gf_ActorLastCreatedSend();
mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmod — base.stormdata/LibVLSS.galaxy:124
libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound = libNtve_gf_ActorLastCreatedSend();
ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Enemy", null, null, null);
libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_enemy_LoopingSound = libNtve_gf_ActorLastCreatedSend();
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound, "SoundSetMuted 1 0");
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_enemy_LoopingSound, "SoundSetMuted 1 0");
mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmod — base.stormdata/LibVLSS.galaxy:128
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_enemy_LoopingSound, "SoundSetMuted 1 0");
ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Ally", null, null, null);
libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_ally_LoopingSound = libNtve_gf_ActorLastCreatedSend();
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_ally_LoopingSound, "SetFilterPlayers");
ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Enemy", null, null, null);
mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmod — base.stormdata/LibVLSS.galaxy:131
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_ally_LoopingSound, "SetFilterPlayers");
ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Enemy", null, null, null);
libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_enemy_LoopingSound = libNtve_gf_ActorLastCreatedSend();
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_enemy_LoopingSound, "SetFilterPlayers");
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_ally_LoopingSound, "SoundSetMuted 1 0");