Staredit Network

Staredit Network -> SCMDraft -> Copying Triggers
Report, edit, etc...Posted by Zwitch on 2006-03-05 at 20:58:08
Okay, say I have a whole set of triggers for one player and I want to copy these triggers to apply to maybe like 3 other players. What's the easiest way to go about copying and editing these triggers so that I have 3 additional sets of the same triggers, each applying to it's respective player and their units?
Report, edit, etc...Posted by A_of_s_t on 2006-03-05 at 22:55:43
Save and Load the triggers, they should all go to the All Players spots, and just check off the respectful players and change the actions to the right players. Thats the easiest way. Until some very helpful and loving person gives us a Player Corresponding Program to do that for free... bleh.gif
Report, edit, etc...Posted by MapUnprotector on 2006-03-06 at 15:05:18
Copy the triggers in the text editor, paste into notepad, and then use the REPLACE.

It owns.
Report, edit, etc...Posted by Zwitch on 2006-03-06 at 15:59:00
QUOTE(A_of_s_t @ Mar 5 2006, 10:55 PM)
Save and Load the triggers, they should all go to the All Players spots, and just check off the respectful players and change the actions to the right players.  Thats the easiest way.  Until some very helpful and loving person gives us a Player Corresponding Program to do that for free... bleh.gif
[right][snapback]440261[/snapback][/right]


Save and Load the triggers? Huh? I currently have the triggers set to one player, I need it set to 3 other players but there are more than just 4 players too.


QUOTE(devilesk @ Mar 6 2006, 03:05 PM)
Copy the triggers in the text editor, paste into notepad, and then use the REPLACE.

It owns.
[right][snapback]440495[/snapback][/right]


You mean copy that long list of stuff and replace every 'player 1' with 'player 2' and paste it back in underneath?
Report, edit, etc...Posted by Forsaken on 2006-03-06 at 17:22:11
QUOTE(Zwitch @ Mar 6 2006, 12:59 PM)
You mean copy that long list of stuff and replace every 'player 1' with 'player 2' and paste it back in underneath?
[right][snapback]440530[/snapback][/right]

He meant:

CODE

Trigger("Player 4"){
Conditions:
Always();

Actions:
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Comment("--------");
}

//-----------------------------------------------------------------//

Trigger("Player 4"){
Conditions:
Always();

Actions:
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Comment("--------");
}

//-----------------------------------------------------------------//

Trigger("Player 4"){
Conditions:
Always();

Actions:
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Comment("--------");
}

//-----------------------------------------------------------------//

Trigger("Player 4"){
Conditions:
Always();

Actions:
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Comment("--------");
}

//-----------------------------------------------------------------//


Copy that into notepad.

Highlight "Player 4" (Withouy quotation marks)

Then press Ctrl + H

And type in Player 2.

Viola! Instantly copied the hyper triggers.
Report, edit, etc...Posted by A_of_s_t on 2006-03-06 at 19:11:53
That was a good waste of space and that was a peice od spam. You didn't have to post all 26 actions of waits... jeesh.
Report, edit, etc...Posted by Zwitch on 2006-03-06 at 20:49:07
It kinda was but, I had no clue about that whole "Ctrl + H" thing happy.gif , thanks everyone for your input!
Next Page (1)