#RooTs Posted September 21, 2014 Share Posted September 21, 2014 Of: txd = engineLoadTXD("400.txd") engineImportTXD(txd, 400) dff = engineLoadDFF("400.dff", 400) engineReplaceModel(dff, 400) To: txd = engineLoadTXD("http://NameSite.com/400.txd") engineImportTXD(txd, 400) dff = engineLoadDFF("http://NameSite.com/400.dff", 400) engineReplaceModel(dff, 400) Is it possible? Link to comment
Anubhav Posted September 21, 2014 Share Posted September 21, 2014 Yes as long the code is of txd. I am realy not sure, you should try testing it. If it doesn't work use downloadFile Link to comment
#RooTs Posted September 21, 2014 Author Share Posted September 21, 2014 Not Work I use it ? function onThisResourceStart ( ) downloadFile ( "test.txt" ) end addEventHandler ( "onClientResourceStart", resourceRoot, onThisResourceStart ) Link to comment
Saml1er Posted September 21, 2014 Share Posted September 21, 2014 Use fetchRemote for downloading stuff. ____________________________________________________________________________________________________________ You must set download to false in meta.xml for downloadFile. "test.txt" download="false"/> Link to comment
RenanPG Posted September 22, 2014 Share Posted September 22, 2014 Not Work I use it ? function onThisResourceStart ( ) downloadFile ( "test.txt" ) end addEventHandler ( "onClientResourceStart", resourceRoot, onThisResourceStart ) Use fetching, gets better performance. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now