gta-chaos-mod / ChaosModV

Chaos Mod for Grand Theft Auto V
https://gta5-mods.com/scripts/chaos-mod-v-beta
GNU General Public License v3.0
256 stars 94 forks source link

[Effect Suggestion] Teleport onto train #1057

Open aimlessB opened 3 years ago

aimlessB commented 3 years ago

Name of effect Teleport onto train

Duration if timed effect (long or short timed?) Instant

Effect Description Teleport the player onto the nearest train, if he is in a vehicle, remove that vehicle

pipecek commented 3 years ago

could soft lock, and it's impossible to exit until the train stops at Palmer Taylor Powerplant.

SeanMirrsen commented 3 years ago

I think they meant teleport onto train, not into train. As in physically place on top of moving train.

I don't think you should remove the player's vehicle for this. Just align the vehicle with the train, and set the velocity to that of the train.

anto4440 commented 3 years ago

What if no train is nearby? does it spawn a train?

aimlessB commented 3 years ago

Yeah I guess it would spawn a train then.

aimlessB commented 3 years ago

I actually ment to put the player on the train, yes

I think they meant teleport onto train, not into train. As in physically place on top of moving train.

I don't think you should remove the player's vehicle for this. Just align the vehicle with the train, and set the velocity to that of the train.