
Posts
326
Respect
114Add +1
Forum Rank
Perk Hacker
Primary Group
Mapper
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!
ent launch((marked_position));ent launch(marked_position);




![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Why would you not just use MoveTo and make the end position be where you want it to land? Or use MoveGravity and set the amount of time it moves to the amount of time it will take the model to fall down where you want it to fall with the velocity you enter?

but not, what I mean is that if I throw a smoke grenade into a house (kinda of marker grenade to bring something to the smoke grenade) then the position will be into the house but then when the model is falling down it is going through the house

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Pretty sure that launch( x,y,z ); is dependent on a velocity not an origin. Thats all I can help with though haha
If you want it to just move in an arch like it is a "throw", you can get an end origin and check out the function "fake_physicslaunch" in _zombiemode_utility. If you want it to bounce, I would consider using a weapon file or something else because yes you can script it but it would take a while to script the physics perfectly.

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
okay yeah I have earlier tested with a weapon file but, with the weapon thing is it also going through the ground and houses etc
Wait with a weapon file it STILL goes through the floor? Well that means that your house has no collisions or anything which I don't see how exactly that is possible. Can I see the script?


![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
sorry for a late reply, I have tried few more times and now it seems to work with the weapon file.
exactly what my fault is that I don't have setup the weapon file correct and I used a script to throw the model xD
but now I use the weapon file to throw it and locate the model then.
thank you for commenting back.
I have a question if I get a problem can I ask you for help if that is possible and when you have time then of course
thank you guys for helping me.
best regards,
Gamer9294