Hello everybody !
I've made a huge scaleform menu for character creation. It use massively the AS to manipulate unrealScript. EG : by choosing a color for an element of the character (clic on a button in scaleform), we apply the color in the material for the character (with "ExternalInterface.call").
When I use my scaleform menu as a UI (by not render it in a texture with kismet), everything works flawlessly.
Now, I wish to render my scaleform in a texture, then use the texture in a Material on a mesh.
thanks to https://forums.epicgames.com/threads...ocus-using-RTT, I can move my mouse in the scaleform in My RTT but when I clic on a button, nothing happens. Even before to push a button, AS have to launch some functions that alter the scene (camera placement)... They don't.
So, I thing I my dummy.swf capture the mouse mouvement (even if I don't check the focus and capture box in kismet, see the topic I linked before) and somehow send them to my gameply.swf in RTT (the mouse in it move), but I can't clic on button and the functions called by AS in the RTT don't seems to "reach" Uscript...
edit : In fact, functions ARE launch and "reach" Uscript with no problem. My real problem have nothing to do with this ^^. But the mouse input problem remains... I still can't push any button in my scaleform, even if the mouse moves.
What have I forgotten ?
edit 2 : Some intel : when the mouse fly hover a button, the onRollOver statement in my button fires normally. The mouse movieclip follow the _xmouse and _ymouse in a mouse listener. both of them works fine. It's really the mouse down/up that I don't receive in the RTT... Maybe have I to declare them (plus the mouse wheel) ina capture key with kismet ?
I've made a huge scaleform menu for character creation. It use massively the AS to manipulate unrealScript. EG : by choosing a color for an element of the character (clic on a button in scaleform), we apply the color in the material for the character (with "ExternalInterface.call").
When I use my scaleform menu as a UI (by not render it in a texture with kismet), everything works flawlessly.
Now, I wish to render my scaleform in a texture, then use the texture in a Material on a mesh.
thanks to https://forums.epicgames.com/threads...ocus-using-RTT, I can move my mouse in the scaleform in My RTT but when I clic on a button, nothing happens. Even before to push a button, AS have to launch some functions that alter the scene (camera placement)... They don't.
So, I thing I my dummy.swf capture the mouse mouvement (even if I don't check the focus and capture box in kismet, see the topic I linked before) and somehow send them to my gameply.swf in RTT (the mouse in it move), but I can't clic on button and the functions called by AS in the RTT don't seems to "reach" Uscript...
edit : In fact, functions ARE launch and "reach" Uscript with no problem. My real problem have nothing to do with this ^^. But the mouse input problem remains... I still can't push any button in my scaleform, even if the mouse moves.
What have I forgotten ?
edit 2 : Some intel : when the mouse fly hover a button, the onRollOver statement in my button fires normally. The mouse movieclip follow the _xmouse and _ymouse in a mouse listener. both of them works fine. It's really the mouse down/up that I don't receive in the RTT... Maybe have I to declare them (plus the mouse wheel) ina capture key with kismet ?
Comment