Here's the problem: I have to make uncountable changes to some triggers which can only be tested properly for functionality when playing with 6 players or more. But ofc it's not possible to wait some hours between each minor script change to gather about 6 ppl again to have it tested.
Is there a way to emulate users or another solution to this problem? Is there a way to make AI leave the game with a certain command (not being killed)?
It'd be too hard to explain. Basically, I have some triggers running and I cannot see if they are working correctly unless 6 players are in game. And on top of that I have to change them very often so that I can get the results I'm after. And most people of my buddy list would be extremely annoyed, if I were to tell that I need them to be present for some hours to check on some triggers.
in your triggers where you use certain conditions to test the players validity
you should make a custom condition that includes all these conditions then replace the conditions in all your triggers with the custom condition
then you can modify this one condition so that it excepts computer players.....
to take it a step further you can then create a boolean array PlayerInGame[0-15] use this in the custom condition to simulate testing if players are still in game or not
make text command events to set specific players to no longer be active or not.
its how I test some of my more advanced triggers
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
Unforunately this won't help me much. For example, in one trigger I have to simulate leaving players using the quit game button, this isn't possible with such a condition I assume. Or is there a possibility to make AI leave the game like users do?
And that's the problem. I don't have that code. What you are suggesting is clear to me, but I need a command to make computer players leave the game without ending the game for them by using "end game for player X".
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Here's the problem: I have to make uncountable changes to some triggers which can only be tested properly for functionality when playing with 6 players or more. But ofc it's not possible to wait some hours between each minor script change to gather about 6 ppl again to have it tested.
Is there a way to emulate users or another solution to this problem? Is there a way to make AI leave the game with a certain command (not being killed)?
why do they need 5 players anyway?
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
It'd be too hard to explain. Basically, I have some triggers running and I cannot see if they are working correctly unless 6 players are in game. And on top of that I have to change them very often so that I can get the results I'm after. And most people of my buddy list would be extremely annoyed, if I were to tell that I need them to be present for some hours to check on some triggers.
@Ranuglin: Go
The live of a mapper. :)
@Ranuglin: Go
in your triggers where you use certain conditions to test the players validity
you should make a custom condition that includes all these conditions then replace the conditions in all your triggers with the custom condition
then you can modify this one condition so that it excepts computer players.....
to take it a step further you can then create a boolean array PlayerInGame[0-15] use this in the custom condition to simulate testing if players are still in game or not
make text command events to set specific players to no longer be active or not.
its how I test some of my more advanced triggers
@SouLCarveRR: Go
Unforunately this won't help me much. For example, in one trigger I have to simulate leaving players using the quit game button, this isn't possible with such a condition I assume. Or is there a possibility to make AI leave the game like users do?
You can force the code to run by adding another event.....
message containging "-left"
real message would be "-left 2"
you can take the substring of "2" convert it to and integer
and run your code against that....
in your trigger I suppose your using "triggering player"
I suggest you change all that to a local variable called "tempplayer"
then just set tempplayer = 2 word from chat message....
maybe this is to complex for you I dunno its what I do when i need to test specific things like that...
@SouLCarveRR: Go
And that's the problem. I don't have that code. What you are suggesting is clear to me, but I need a command to make computer players leave the game without ending the game for them by using "end game for player X".