I'm attempting to try to set up a fairly well made TPS library called " Tomura's Shooter Systems" so I can play the Campaigns in third person.
I've got a fairly basic understanding by copying the triggers manually, and they seem to accept being like that, except one script seems to prevent Saving or Testing the maps I imported it to (currently testing in a melee map to avoid any possible conflicts), and only lets me save if I disable this one script.
I've tried tinkering some scripts from the original map that came with the files, but it seems if I mess with seemingly any of the triggers on even that map, it prevents saving and testing on the original file as well, even if I Undo everything I changed, it still prevents it all in said session with the same trigger preventing it as the melee map's edit does. So I don't suppose I copied the triggers wrong myself since that's the case. But I can't for the life of me understand why it won't save the way it does.
When it fails to save it should give a script line number that you can find under Data>View Script. They tend to be caused by unlinked parameters which are usually presets or variables.
Also a picture of the contents of the troublesome function would be more helpful.
Sorry for the late response, I assume this is what you mean?
The thing that's strange is that all these script stuff works before I do anything and it even tests properly.
But if even if all I do is say, Disable, then immediately Enable ANY script, it breaks this specific one. But only if I do something Script related so far from my testing. I could place as many units and doodads as I'd like if I wanted. But once a script, any script is touched, it breaks that one script, and I cannot save or test it out. I've only been able save my test map and the progress I've made by disabling that one script.
But, thank you for responding, I appreciate it. Even if things don't end up working in the end.
In said test map, I've manually "copied" the Triggers one by one in a new map. and again only this "TurnShootercontrolsonoff" trigger (I do believe I mistakingly called a Script(?)) is the one is causing the problems. Which I have mentioned I have disabled to be able to save my Test Map. The only other thing I would guess is the Dependency Library is where this would be in maybe which I can't seem to be able to edit at all.
The script looks like it's needed to be able to launch/save, since the TPS gameplay doesn't trigger without the script.
I've tried checking around and seeing if I could find what this "Invalid Parameter, possibly an incorrect variable name" is, but so far I've come up with not much unterstood on my part. Maybe I should give it a nights rest for now.
And maybe it's simply because some updates broke the Triggers if edited in the map or something? I can't see what's wrong yet the editor is trying to highlight this script. The Map and Library are from 2013 after all.
I'm attempting to try to set up a fairly well made TPS library called " Tomura's Shooter Systems" so I can play the Campaigns in third person.
I've got a fairly basic understanding by copying the triggers manually, and they seem to accept being like that, except one script seems to prevent Saving or Testing the maps I imported it to (currently testing in a melee map to avoid any possible conflicts), and only lets me save if I disable this one script.
Under "Spawnstuff"
Action: TurnShooterControlsOnOff(true,(PlayerGroupSingle(p)), libTShS_ge_ThirdPersonShooter,true)
I've tried tinkering some scripts from the original map that came with the files, but it seems if I mess with seemingly any of the triggers on even that map, it prevents saving and testing on the original file as well, even if I Undo everything I changed, it still prevents it all in said session with the same trigger preventing it as the melee map's edit does. So I don't suppose I copied the triggers wrong myself since that's the case. But I can't for the life of me understand why it won't save the way it does.
Hopefully someone has a idea about it.
When it fails to save it should give a script line number that you can find under Data>View Script. They tend to be caused by unlinked parameters which are usually presets or variables.
Also a picture of the contents of the troublesome function would be more helpful.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvilGamepedia:
Sorry for the late response, I assume this is what you mean?
The thing that's strange is that all these script stuff works before I do anything and it even tests properly.
But if even if all I do is say, Disable, then immediately Enable ANY script, it breaks this specific one. But only if I do something Script related so far from my testing. I could place as many units and doodads as I'd like if I wanted. But once a script, any script is touched, it breaks that one script, and I cannot save or test it out. I've only been able save my test map and the progress I've made by disabling that one script.
But, thank you for responding, I appreciate it. Even if things don't end up working in the end.
Ok I suggest disabling everything in that function and then systematically enabling it until you find the cause.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In said test map, I've manually "copied" the Triggers one by one in a new map. and again only this "TurnShootercontrolsonoff" trigger (I do believe I mistakingly called a Script(?)) is the one is causing the problems. Which I have mentioned I have disabled to be able to save my Test Map. The only other thing I would guess is the Dependency Library is where this would be in maybe which I can't seem to be able to edit at all.
The script looks like it's needed to be able to launch/save, since the TPS gameplay doesn't trigger without the script.
I've tried checking around and seeing if I could find what this "Invalid Parameter, possibly an incorrect variable name" is, but so far I've come up with not much unterstood on my part. Maybe I should give it a nights rest for now.
And maybe it's simply because some updates broke the Triggers if edited in the map or something? I can't see what's wrong yet the editor is trying to highlight this script. The Map and Library are from 2013 after all.
Just copy the function and disable all parts of it internally then enable them one at a time. That way you can slowly focus in on the problem.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg