How to add a Mover extended actor to the AddMover list?
- PrinceOfFunky
- Godlike
- Posts: 1200
- Joined: Mon Aug 31, 2015 10:31 pm
How to add a Mover extended actor to the AddMover list?
I have some movers that extend a Mover that extends the main Mover class of Unreal, I noticed that only the direct children of the main Mover class of Unreal are listed in the AddMover list, how can I let the other movers to be listed in that list?
"Your stuff is known to be buggy and unfinished/not properly tested"
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: How to add a Mover extended actor to the AddMover list?
You will probably need a custom button for this. I doubt UEd populates any sort of list of subclasses and then tries to apply those. I'd think that list is hardcoded into the button.
So long, and thanks for all the fish
Re: How to add a Mover extended actor to the AddMover list?
I'm afraid that will not work. I guess the User Interface of UnrealED does a simple loop likePrinceOfFunky wrote:how can I let the other movers to be listed in that list?
Code: Select all
For i=0 to SubItems.Count-1
AddToButton(SubItems[i])
Hint: Adding such a mover will work by T3D format. Add a normal mover, cut it to clipboard, insert it in an text editor and change "Class=Mover" to "Class=MySubSubClassMover". Put the changed T3D description text into clipboard and paste it into UnrealEd.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
- PrinceOfFunky
- Godlike
- Posts: 1200
- Joined: Mon Aug 31, 2015 10:31 pm
Re: How to add a Mover extended actor to the AddMover list?
Thanks I'll try it, I already tried "ACTOR REPLACE CLASS=MySubSubClassMover" but it doesn't work with selected Movers.Barbie wrote:I'm afraid that will not work. I guess the User Interface of UnrealED does a simple loop likePrinceOfFunky wrote:how can I let the other movers to be listed in that list?Sub items of sub items seem to be ignored.Code: Select all
For i=0 to SubItems.Count-1 AddToButton(SubItems[i])
Hint: Adding such a mover will work by T3D format. Add a normal mover, cut it to clipboard, insert it in an text editor and change "Class=Mover" to "Class=MySubSubClassMover". Put the changed T3D description text into clipboard and paste it into UnrealEd.
"Your stuff is known to be buggy and unfinished/not properly tested"