Remember me
You are here: HomeForumCyberix3D ForumExamples[Player Movement] Better Third Person Movement WIP
Welcome, Guest
Username: Password: Remember me

TOPIC: I want sit and stand script to use with models.

I want sit and stand script to use with models. 2 years 9 months ago #2732

Can anyone give me a script, with which, my avatar can sit(get same x, y, z till unsitting) to any 3d model, , clicking on that, move when the model moves and unsit clicking a button?
Last Edit: 2 years 9 months ago by Childhood-Bestfriend.
The administrator has disabled public write access.

I want sit and stand script to use with models. 2 years 9 months ago #2733

  • ViraX
  • ViraX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 152
  • Thank you received: 113
Hi,

what view would you like to sit with? first person, 3rd person?

in the first person view you can "cheat" by playing with the axes (no animation needed), for the 3rd person you will also need different animations or poses ...

in order for your character to sit on all models, you will need to create a trigger (it will also serve as a marker) in a small (invisible IG) cube and then place that trigger on each model

I do not know if I understood your request correctly, do not hesitate to detail ..
Last Edit: 2 years 9 months ago by ViraX.
The administrator has disabled public write access.
The following user(s) said Thank You: Childhood-Bestfriend

I want sit and stand script to use with models. 2 years 9 months ago #2735

I don't know what the mode of gta is called.
The administrator has disabled public write access.

I want sit and stand script to use with models. 2 years 9 months ago #2736

  • ViraX
  • ViraX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 152
  • Thank you received: 113
if i have a moment i will update the "GTA-Like" example and include a script to sit down

in the meantime, maybe a user will post a script to sit down, wait;)
The administrator has disabled public write access.

I want sit and stand script to use with models. 2 years 9 months ago #2737

I request for gta like example with both sitting and standing after sitting. Only sitting isn't enough. Good night for now.
Last Edit: 2 years 9 months ago by Childhood-Bestfriend.
The administrator has disabled public write access.

I want sit and stand script to use with models. 2 years 9 months ago #2738

  • GODEBEX
  • GODEBEX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Thank you received: 42
it's pretty easy, I can help you with that, give me some time
The administrator has disabled public write access.
The following user(s) said Thank You: Childhood-Bestfriend

I want sit and stand script to use with models. 2 years 9 months ago #2740

  • GODEBEX
  • GODEBEX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Thank you received: 42
Hello, You can try with this example that I did, to make it work in your models you just have to use the same commands that the models that are in the scene have.

Important: you can modify the height of the character when sitting with the variable "height_distance", depending on each model

Proyect: www.gamemaker3d.com/player?pid=054616159644

I hope it has served you B)
Last Edit: 2 years 9 months ago by GODEBEX.
The administrator has disabled public write access.
Time to create page: 0.103 seconds