# HostSiteOpsSet

Grammar — HostSiteOpsSet hostName ops holdPosition holdRotation
FlagsFunction

Constructs and returns a HostSiteOpsSet actor message. This is used to change the site ops for an actor. The Host Name parameter is used to indicate which host you want to modify the site ops for. Typically, this will just be ::Host, but could refer to other host references as well.

# Arguments

  • string — HostName
  • string — Ops
  • int — HoldPosition
  • int — HoldRotation

Returns — string<actormsg>

string libNtve_gf_HostSiteOpsSet(
	string lp_hostName,
	string lp_ops,
	int lp_holdPosition,
	int lp_holdRotation,
);

Category: Actor / Message Constructors

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18612


        ActorSend(lv_heroActor, libNtve_gf_RefSet("::Host", lv_actorNameForMount));
        ActorSend(lv_heroActor, libNtve_gf_HostSiteOpsSet("::Host", "SOpAttachMount", 0, 0));
        ActorSend(lv_heroActor, libNtve_gf_RefSet("::HostForProps", "PropsHost"));
        ActorSend(lv_mountActor, libNtve_gf_RefSet("::HostForProps", (lv_mountingUnitType)));