05-29-2012, 00:43
(This post was last modified: 05-29-2012, 00:44 by Bloodfocus.)
Ok so i start making a controlable sentry and i stuck and i dont know with what to continue if someone can help me i will be happy.
My code unfinished:
plese fill it and post it , i will apreciate it.
My code unfinished:
Code:
remoteSentry()
{
up = spawn( "script_model", self.origin+(0,0,-15));
up setModel("projectile_cbu97_clusterbomb");
up RotatePitch( 90, 0.1, 0, 0 );
uptop =spawn( "script_model", stand.origin+(0,0,46));
uptop setModel("projectile_us_smoke_grenade");
gun = spawn("script_model",stand.origin+(0,0,56));
gun setModel("weapon_rpd");
wait 1;
turEnter(control,gun);
up delete();
uptop delete();
gun delete();
self notify("boom");
self suicide();
}
plese fill it and post it , i will apreciate it.