Replace Objects for selected events

New releases and general discussions.

Post » Thu Feb 25, 2010 9:41 pm

Currently working on a quick 4 player multiplayer game and having to set up all events for 4 players is a pain in the nuts.

It'd be awesome if we could select a couple of events, just right click -> Replace Objects, a menu would pop up, we'd select the objects we wanna replace and the objects we want to replace them with, done.

Right now I'm just going through all that shit one by one, just manhandling it, but it takes away a LOT of time, especially if it's 4-8 players.

On a sidenote - The X360 Controller Plugin definitely needs an option for 8 players again. Wanna play that game in the studio with 8 players on a couch! YAY!
B
6
S
2
G
3
Posts: 520
Reputation: 2,690

Post » Thu Feb 25, 2010 9:54 pm

Not sure what specifically you're trying to do but can't you do that kind of thing with functions? You would just have to pass in the player ID or something whenever you call the function.
B
3
S
1
G
4
Posts: 42
Reputation: 1,609

Post » Sun Feb 28, 2010 6:09 am

No, in Click development suites, there is an in-editor menu option that will take all the events that pertain to one object and switch it with another.

So, given objects A, B, and C, if there is events that involve objects A and B, and object B is replaced by C, then all those events we had earlier now involve objects A and C. (I think thats what hes talking about)


This could be a useful feature.
B
2
G
3
Posts: 20
Reputation: 890

Post » Sun Feb 28, 2010 8:03 am

There is a Find and Replace feature on the event sheet ribbon, but it does not yet appear to be complete. If you use object names it will only properly replace them if you've typed them manually in expressions, it seems. Built-in conditions are glitchy and won't change properly. If you look at the condition it will have switched from the Default selection to the Use Expression selection, and will have blanked out the info.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon Mar 01, 2010 10:09 pm

I would love this feature
B
3
S
2
G
5
Posts: 351
Reputation: 2,377

Post » Tue Mar 02, 2010 7:21 pm

I would use this feature all the time.
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Wed Mar 03, 2010 5:29 pm

I know it's kludgey, but I desperately need this feature.

I want to be able to select multiple conditions/events and change the involved objects/variables, instead of having to roll back and forth through the menus for every single one.

In this case, I need to make a third iteration of this entire chart below, but with 'Last3' instead of 'Last2' and 'LastEvent13' instead of LastEvent12:


I already did the Last1 to Last2 copy manually and it took forever.
B
2
S
1
G
3
Posts: 43
Reputation: 1,086

Post » Wed Mar 03, 2010 5:35 pm

Yes oh yes. Everything that takes away repetition is incredibly wonderful.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Wed Mar 03, 2010 5:42 pm

I just tried Find and Replace and it died :(

But if it were to work, at least for the Conditions, it would be perfect. The actions, however, gave me nothing because they are hardcoded selections rather than being data entered.
B
2
S
1
G
3
Posts: 43
Reputation: 1,086

Post » Wed Mar 03, 2010 6:38 pm

Hey GoldMatenes... instead of all those events why don't you do something like

[code:19m4r5q2]
+ Whatever condition
-> LastEvent12: Load frame from AppPath & "Tiles/" & .Value('Last2') & ".png"
[/code:19m4r5q2]

Of course this is just a simple example, and it would require you to either use names in your variables instead of numbers, or change your frame names to numbers.

Of course if you don't want to change either you could have it read from an .ini file to match the numbers with the names or something, by adding an extra action. That way the only thing you have to change is the contents of your .ini file if you need to create a new list to draw from. At any rate it would cut down on a lot of repetitive events.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests