Binding objects
Moderator: Moderators
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
Binding objects
well how do i bind something to my players feet?
would i need to use a line like something this?
$origin.bind = $player
or $object.bind = $player
or would i need to use a trigger?
would i need to use a line like something this?
$origin.bind = $player
or $object.bind = $player
or would i need to use a trigger?
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
Re: explain
yeah i kind of thought they were wrong... i was just guessingtltrude wrote:Explain what you want to do. Both of those are wrong.
have you ever played ****CrazyServerMods****?
well i want to do something like they do... bonding objects to a player's feet. Then it removes player physics and lets you move forward while staying at the same height!like many other newbs, i marvel at the complex scripting and long hours this must take. I NEED to learn how to bind this stuff!
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
Well, the player's origin is probably at waist high, so you'll need to loop a script that updates it's postion:
I don't think the $player.origin + 0 0 -46 is quite right but it's the idea...
Code: Select all
thread attatch_thingy
attatch_thingy:
$attatch_thingy.origin = $player.origin + 0 0 -46//player's origin, but 46 units lower
goto attatch_thingy
end
player origin
The players origin is on the ground (blue and green cross). So, (0 0 46) would put it at his hips.

Btw, the rectangle on the ground is for the shadow and it rotates around the players origin as he walks.

Btw, the rectangle on the ground is for the shadow and it rotates around the players origin as he walks.
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
so what you are trying is to make the player control the higgens?
try looking at the first driving tut here at .map, it hows how to control a tank, my guesss is it's the same principal. but, if you'd like to try something fast...
your script might be causing it to somehow use the hide keyword. show is the opposite.
try looking at the first driving tut here at .map, it hows how to control a tank, my guesss is it's the same principal. but, if you'd like to try something fast...
Code: Select all
$higgins showModerator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006


