You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Can also change the memebr variables right away, they are exposed as memebers to python API
45
+
#notifyEvent.trigger_on_dedicated_server = False
46
+
#notifyEvent.trigger_on_follower = True
47
+
#notifyEvent.notify_trigger_chance = 0.5
48
+
49
+
#Can get some more detials about the notify, like it's name & color
50
+
notifyItself=notifyEvent.notify
51
+
Notifycolor=notifyItself.notify_color
52
+
NotifyName=notifyItself.get_notify_name()
53
+
print("The notify [%s] has the color is {%d, %d, %d, %d}"% (NotifyName, Notifycolor.r, Notifycolor.g, Notifycolor.b, Notifycolor.a))
54
+
55
+
#Can also change the notify colors. Keep in mind we can't use the notifyItself.notify_color as it is read-only, but we can use the set_editor_property("notify_color", VALUE)
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,8 @@ Don't forget to follow this repo, [YouTube](http://www.youtube.com/channel/UCBBc
28
28
29
29
## Aimation ##
30
30
31
-
-**[CleanNotifiesFromAnimations.py](https://github.com/mamoniem/UnrealEditorPythonScripts/blob/master/Animation/CleanNotifiesFromAnimations.py)** Run on a selected single or multiple animation file(s) in order to clean up the selected file(s) from any animation notifies.
31
+
-**[CleanNotifiesFromAnimations.py](https://github.com/mamoniem/UnrealEditorPythonScripts/blob/master/Animation/CleanNotifiesFromAnimations.py)** Run on a selected single or multiple animation file(s) in order to clean up the selected file(s) from any animation notifies.
32
+
-**[SetAllAnimNotifyProperty.py](https://github.com/mamoniem/UnrealEditorPythonScripts/blob/master/Animation/SetAllAnimNotifyProperty.py)** Run on a selected single or multiple animation file(s) in order set some values for all the animation notifies exists in the selected animations (notify name, notify color, notify trigger settings,...etc.). NOTE that the later part of the scrip (color fetch & change) won't work with the custom notifies (the ones that call a function/Event), as those notifies are meant to have fixed color by design.
0 commit comments