Post: Set Place-ables (NEED HELP)
02-12-2012, 04:15 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Well, I would have no idea how to keep models/things on the ground, like if the ground/walls were solid, so If you can help me with that, but....

like placing sentry/ims/etc. you can make cool things. enjoy this super alpha script.

    
placeables()
{
start = anglestoforward(self getPlayerAngles()) * 50;
end = (self getEye() + start);
box = spawn("script_model", end);
box setModel("com_plasticcase_friendly"); //this is your model of your placeable.
box linkTo( self );
box setContents( 1 );
for(;Winky Winky
{
box.angles = self.angles;
wait 0.01;
}
}


etc.. you can do much such as unlink() when done.. but if you can help me with the ground thing, then please PM me Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});
02-12-2012, 09:48 AM #2
247Yamato
< ^ > < ^ >
To detect walls? This means that there is ground under you:

    if( !bulletTracePassed( self.origin, self.origin - ( 0, 0, 40 ), false, self ) )


There are lot of ways of checking this.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo