Raised This Month: $ Target: $400
 0% 

Reset movable entities origin on round start


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 06-22-2014 , 14:35   Re: Reset movable entities origin on round start
Reply With Quote #1

https://forums.alliedmods.net/showth...16291?p=616291
MPNumB is da man for fixes <3
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 08-08-2014 , 07:11   Re: Reset movable entities origin on round start
Reply With Quote #2

Quote:
Originally Posted by GuskiS View Post
thank you. could the same be done for func_train or func_tracktrain?
some escape maps get bugged
__________________

Last edited by georgik57; 08-08-2014 at 07:11.
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 08-08-2014 , 10:15   Re: Reset movable entities origin on round start
Reply With Quote #3

The code is really simple, you could look for yourself if it works for func_train and func_tracktrain aswell. Just replace func_pushable with the desired entity classes. You can also copy-paste the while loop to perform the search with multiple entities, you just need to set iEnt = 0 in front of each while block.
__________________
In Flames we trust!
Nextra is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode