SCRIPTING TUTORIAL: Targeting, linking, array, play fx on tag

Channel:
Subscribers:
549
Published on ● Video Link: https://www.youtube.com/watch?v=f9KvRiX1vp4



Category:
Tutorial
Duration: 24:37
320 views
22


function crate_rotate()
{
crate = GetEnt("crate","targetname");
crate_parts = GetEntArray(crate.target, "targetname");
foreach(part in crate_parts)
part thread link_to_crate(crate);
not_whatever = GetEnt("not_whatever","targetname");
not_whatever LinkTo(crate);
while(1)
{
crate RotateYaw(360,8);
wait 8;
}

}

function link_to_crate(crate)
{
self EnableLinkTo();
self LinkTo(crate);
if(self.script_noteworthy == "fx_piece")
PlayFXOnTag("smoke/fx_smk_window_100x100_black",self,"tag_origin");
}







Tags:
tutorial
mod tools
modtool
zombie
scripting
bo3
blackops3
custom
map