Skip to content

AimTarget Submodule

Yassine Sen edited this page Sep 28, 2022 · 1 revision

ConfigEvent_GetAimTarget

Structure

"<enum>"
{
	"procedure"  "ConfigEvent_GetAimTarget"

	// depend on 	'event_type', usually 'player' for calling player, check 'vsh2hooks*.sp'
	// 'target' will assume the 'player' is an entity index
	// while 'vsh2target' will assume the 'player' is a client userid
	"vsh2target"	"player"
	// "target"	"player"

	// variable to ouput target
	"name"		"my_var_name"
	"allowboss"	"true"
	"allowminion"   "false"
	"onlyclient"	"true" 
}

Arguments

Key Type Description
vsh2target/target String Target from string
name String Output variable name
allowboss Boolean Allow boss to be targeted
allowminion Boolean Allow minions to be targeted
onlyclient Boolean Only target players