# Set Visibility

Grammar — SetVisibility visible|Visibility
FlagsFunction

Constructs and returns a SetVisibility actor message based on the parameters. This message will set the visibility state for the actor*“s model on or off, depending on the visibility parameter value. If set to 0, the model will not show up. If set to 1, the model will show up. Other factors (such as if the model is under the fog of war) can affect an actor”*s visibility – this message cannot force an actor to be visibile if the game engine is causing it to be invisible. The reverse is possible, however – this message can force an actor to be invisible. In other words, invisibility always wins.

# Arguments

  • bool — Visible

Returns — string [ actormsg ]

string libNtve_gf_SetVisibility(bool lp_visible);

Category: Actor / Message Constructors

  • [F]string [ actormsg ]Actor Msg 1 — ( libNtve_gf_ActorMsg1 )
  • [F]string [ actormsg ]Actor Msg 2 — ( libNtve_gf_ActorMsg2 )
  • [F]string [ actormsg ]Actor Msg 3 — ( libNtve_gf_ActorMsg3 )
  • [F]string [ actormsg ]Actor Msg 4 — ( libNtve_gf_ActorMsg4 )
  • [F]string [ actormsg ]Action Damage — ( libNtve_gf_ActionDamage )
  • [F]string [ actormsg ]Action Impact — ( libNtve_gf_ActionImpact )
  • [F]string [ actormsg ]Alias Add — ( libNtve_gf_AliasAdd )
  • [F]string [ actormsg ]Alias Remove — ( libNtve_gf_AliasRemove )
  • [F]string [ actormsg ]Anim Baseline Start — ( libNtve_gf_AnimBaselineStart )
  • [F]string [ actormsg ]Anim Baseline Stop — ( libNtve_gf_AnimBaselineStop )
  • [F]string [ actormsg ]Anim Blend Time Apply — ( libNtve_gf_AnimBlendTimeApply )
  • [F]string [ actormsg ]Anim Blend Time Remove — ( libNtve_gf_AnimBlendTimeRemove )
  • [F]string [ actormsg ]Anim Bracket Resume — ( MakeMsgAnimBracketResume )
  • [F]string [ actormsg ]Anim Bracket Start — ( MakeMsgAnimBracketStart )
  • [F]string [ actormsg ]Anim Bracket Stop — ( MakeMsgAnimBracketStop )
  • [F]string [ actormsg ]Anim Clear — ( libNtve_gf_AnimClear )
  • [F]string [ actormsg ]Anim Clear All But — ( libNtve_gf_AnimClearAllBut )
  • [F]string [ actormsg ]Anim Dump DB — ( libNtve_gf_AnimDumpDB )
  • [F]string [ actormsg ]Anim Group Apply — ( MakeMsgAnimGroupApply )
  • [F]string [ actormsg ]Anim Group Remove — ( MakeMsgAnimGroupRemove )
  • [F]string [ actormsg ]Anim Group Remove All — ( libNtve_gf_AnimGroupRemoveAll )
  • [F]string [ actormsg ]Anim Play — ( MakeMsgAnimPlay )
  • [F]string [ actormsg ]Anim Play Sequence — ( libNtve_gf_AnimPlaySequence )
  • [F]string [ actormsg ]Anim Set Completion — ( libNtve_gf_AnimSetCompletion )
  • [F]string [ actormsg ]Anim Set Duration — ( libNtve_gf_AnimSetDuration )
  • [F]string [ actormsg ]Anim Set Paused — ( libNtve_gf_AnimSetPaused )
  • [F]string [ actormsg ]Anim Set Time — ( libNtve_gf_AnimSetTime )
  • [F]string [ actormsg ]Anim Set Time Scale — ( libNtve_gf_AnimSetTimeScale )
  • [F]string [ actormsg ]Anim Set Time Scale Global — ( libNtve_gf_AnimSetTimeScaleGlobal )
  • [F]string [ actormsg ]Attach Set Bearings — ( libNtve_gf_AttachSetBearings )
  • [F]string [ actormsg ]Attach Set Bearings From — ( libNtve_gf_AttachSetBearingsFrom )
  • [F]string [ actormsg ]Attach Set Position — ( libNtve_gf_AttachSetPosition )
  • [F]string [ actormsg ]Attach Set Position From — ( libNtve_gf_AttachSetPositionFrom )
  • [F]string [ actormsg ]Attach Set Rotation — ( libNtve_gf_AttachSetRotation )
  • [F]string [ actormsg ]Attach Set Rotation From — ( libNtve_gf_AttachSetRotationFrom )
  • [F]string [ actormsg ]Create — ( libNtve_gf_Create )
  • [F]string [ actormsg ]Create Copy — ( libNtve_gf_CreateCopy )
  • [F]string [ actormsg ]Death Customize — ( libNtve_gf_DeathCustomize )
  • [F]string [ actormsg ]Destroy — ( libNtve_gf_Destroy )
  • [F]string [ actormsg ]HostSiteOpsSet — ( libNtve_gf_HostSiteOpsSet )
  • [F]string [ actormsg ]List Add — ( libNtve_gf_ListAdd )
  • [F]string [ actormsg ]List Remove — ( libNtve_gf_ListRemove )
  • [F]string [ actormsg ]Missile Tentacle Return — ( libNtve_gf_MissileTentacleReturn )
  • [F]string [ actormsg ]Model Event Suppress — ( libNtve_gf_ModelEventSuppress )
  • [F]string [ actormsg ]Model Swap — ( libNtve_gf_ModelSwap )
  • [F]string [ actormsg ]Mover Set Acceleration — ( libNtve_gf_MoverSetAcceleration )
  • [F]string [ actormsg ]Mover Set Deceleration — ( libNtve_gf_MoverSetDeceleration )
  • [F]string [ actormsg ]Mover Set Destination 2D — ( libNtve_gf_MoverSetDestination2D )
  • [F]string [ actormsg ]Mover Set Destination From — ( libNtve_gf_MoverSetDestinationFrom )
  • [F]string [ actormsg ]Mover Set Destination H — ( libNtve_gf_MoverSetDestinationH )
  • [F]string [ actormsg ]Mover Set Destination Z — ( libNtve_gf_MoverSetDestinationZ )
  • [F]string [ actormsg ]Mover Set Speed — ( libNtve_gf_MoverSetSpeed )
  • [F]string [ actormsg ]Mover Set Speed Max — ( libNtve_gf_MoverSetSpeedMax )
  • [F]string [ actormsg ]Mover Set Speed From Duration — ( libNtve_gf_MoverSetSpeedFromDuration )
  • [F]string [ actormsg ]Mover Move — ( libNtve_gf_MoverMove )
  • [F]string [ actormsg ]Mover Stop — ( libNtve_gf_MoverStop )
  • [F]string [ actormsg ]Mover Stop Now — ( libNtve_gf_MoverStopNow )
  • [F]string [ actormsg ]Multiply Scale — ( libNtve_gf_MultiplyScale )
  • [F]string [ actormsg ]Print — ( libNtve_gf_Print )
  • [F]string [ actormsg ]Query Persistent — ( libNtve_gf_QueryPersistent )
  • [F]string [ actormsg ]Query Radius — ( libNtve_gf_QueryRadius )
  • [F]string [ actormsg ]Query Region — ( libNtve_gf_QueryRegion )
  • [F]string [ actormsg ]Ref Clear — ( libNtve_gf_RefClear )
  • [F]string [ actormsg ]Ref Create — ( MakeMsgRefCreate )
  • [F]string [ actormsg ]Ref Destroy — ( libNtve_gf_RefDestroy )
  • [F]string [ actormsg ]Ref Dump — ( libNtve_gf_RefDump )
  • [F]string [ actormsg ]Ref Notify — ( libNtve_gf_RefNotify )
  • [F]string [ actormsg ]Ref Set — ( libNtve_gf_RefSet )
  • [F]string [ actormsg ]Ref Set From Msg — ( libNtve_gf_RefSetFromMsg )
  • [F]string [ actormsg ]Ref Set From Actor — ( libNtve_gf_RefSetFromActor )
  • [F]string [ actormsg ]Ref Set From Request — ( MakeMsgRefSetFromRequest )
  • [F]string [ actormsg ]Ref Set Refresh Name — ( libNtve_gf_RefSetRefreshName )
  • [F]string [ actormsg ]Ref Table Dump — ( MakeMsgRefTableDump )
  • [F]string [ actormsg ]Set Bearings — ( libNtve_gf_SetBearings )
  • [F]string [ actormsg ]Set Bearings From — ( libNtve_gf_SetBearingsFrom )
  • [F]string [ actormsg ]Set Bearings H — ( libNtve_gf_SetBearingsH )
  • [F]string [ actormsg ]Set Facing — ( libNtve_gf_SetFacing )
  • [F]string [ actormsg ]Set Height — ( libNtve_gf_SetHeight )
  • [F]string [ actormsg ]Set Opacity — ( libNtve_gf_SetOpacity )
  • [F]string [ actormsg ]Set Physics State — ( MakeMsgSetPhysicsState )
  • [F]string [ actormsg ]Set Position — ( libNtve_gf_SetPosition )
  • [F]string [ actormsg ]Set Position 2D — ( libNtve_gf_SetPosition2D )
  • [F]string [ actormsg ]Set Position 2D H — ( libNtve_gf_SetPosition2DH )
  • [F]string [ actormsg ]Set Position From — ( libNtve_gf_SetPositionFrom )
  • [F]string [ actormsg ]Set Position H — ( libNtve_gf_SetPositionH )
  • [F]string [ actormsg ]Set Render To Texture Enabled — ( libNtve_gf_SetRenderToTextureEnabled )
  • [F]string [ actormsg ]Set Rotation — ( libNtve_gf_SetRotation )
  • [F]string [ actormsg ]Set Rotation From — ( libNtve_gf_SetRotationFrom )
  • [F]string [ actormsg ]Set Scale — ( libNtve_gf_SetScale )
  • [F]string [ actormsg ]Set Scale Absolute — ( libNtve_gf_SetScaleAbsolute )
  • [F]string [ actormsg ]Set Team Color — ( libNtve_gf_SetTeamColor )
  • [F]string [ actormsg ]Set Local Tint Color — ( libNtve_gf_SetLocalTintColor )
  • [F]string [ actormsg ]Set Tint Color — ( libNtve_gf_SetTintColor )
  • [F]string [ actormsg ]Set Visibility — ( libNtve_gf_SetVisibility )
  • [F]string [ actormsg ]Set Walk Anim Move Speed — ( libNtve_gf_SetWalkAnimMoveSpeed )
  • [F]string [ actormsg ]Set Z — ( libNtve_gf_SetZ )
  • [F]string [ actormsg ]Signal — ( libNtve_gf_Signal )
  • [F]string [ actormsg ]Sound Add DSP — ( libNtve_gf_SoundAddDSP )
  • [F]string [ actormsg ]Sound Set Muted — ( libNtve_gf_SoundSetMuted )
  • [F]string [ actormsg ]Sound Set Offset — ( libNtve_gf_SoundSetOffset )
  • [F]string [ actormsg ]Sound Set Paused — ( libNtve_gf_SoundSetPaused )
  • [F]string [ actormsg ]Status Decrement — ( libNtve_gf_StatusDecrement )
  • [F]string [ actormsg ]Status Increment — ( libNtve_gf_StatusIncrement )
  • [F]string [ actormsg ]Texture Dump — ( libNtve_gf_TextureDump )
  • [F]string [ actormsg ]Texture Dump DB — ( libNtve_gf_TextureDumpDB )
  • [F]string [ actormsg ]Texture Group Apply — ( libNtve_gf_TextureGroupApply )
  • [F]string [ actormsg ]Texture Group Remove — ( libNtve_gf_TextureGroupRemove )
  • [F]string [ actormsg ]Texture Select By ID — ( libNtve_gf_TextureSelectByID )
  • [F]string [ actormsg ]Texture Select By Match — ( MakeMsgTextureSelectByMatch )
  • [F]string [ actormsg ]Texture Select By Slot — ( MakeMsgTextureSelectBySlot )
  • [F]string [ actormsg ]Texture Video Play (Advanced) — ( MakeMsgTextureVideoPlay )
  • [F]string [ actormsg ]Texture Video Play — ( libNtve_gf_MakeMsgTextureVideoPlay )
  • [F]string [ actormsg ]Texture Video Set Frame (Advanced) — ( MakeMsgTextureVideoSetFrame )
  • [F]string [ actormsg ]Texture Video Set Frame — ( libNtve_gf_TextureVideoSetFrame )
  • [F]string [ actormsg ]Texture Video Set Paused (Advanced) — ( MakeMsgTextureVideoSetPaused )
  • [F]string [ actormsg ]Texture Video Set Paused — ( libNtve_gf_TextureVideoSetPaused )
  • [F]string [ actormsg ]Texture Video Set Time (Advanced) — ( MakeMsgTextureVideoSetTime )
  • [F]string [ actormsg ]Texture Video Set Time — ( libNtve_gf_TextureVideoSetTime )
  • [F]string [ actormsg ]Texture Video Stop (Advanced) — ( MakeMsgTextureVideoStop )
  • [F]string [ actormsg ]Texture Video Stop — ( libNtve_gf_TextureVideoStop )
  • [F]string [ actormsg ]Texture Video Stop All — ( libNtve_gf_TextureVideoStopAll )
  • [F]string [ actormsg ]Timer Set — ( libNtve_gf_TimerSet )
  • [F]string [ actormsg ]Timer Kill — ( libNtve_gf_TimerKill )
  • [F]string [ actormsg ]Transition — ( MakeMsgTransition )

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L6563
libNtve_gf_SetVisibility(true)
// L6563
libNtve_gf_SetVisibility(true)