Author Topic: Make player unable to move when holding object?  (Read 405 times)

So I'm trying to make a cool football mini game. I downloaded a football add on and I want to make it so that whenever you have the football you cant move, but then once you dont have it you are able to move again. Anybody know how I can do this?

And I just found out you cant pick up a football off the ground. How can I make it so they can be picked up also?

Ok I actually need help with a lot of things.

1. How to make player still when holding football.
2. How to make players be able to pick football up
3. How can I make it so a onplayertouch event will only happen if they have a football?

You shall need VCE.

Standing still: Apply to ALL baseplates on the field:
- There's an event somewhere for if playing is holding something. Can't remember which one.
- Set playertype to nomoveplayer (addon) when they have an item, nojet player when they don't.

Picking up: Get an addon where the ball CAN be picked up.

Onlywithfootballonplayertouch: Same as 1, just with different outputs for when the player has the ball.

There are no other football add ons. On the comments of the RTB add on I download somebody said they edited the code to make it so you can pick it up but they never said that they did. Could somebody download the add on and tell me what to do? Just search football on the RTB forums.