Call Custom Method: Difference between revisions

Jump to navigation Jump to search
(has some missing information, mostly redirects the specific methods and specifics of rdcode to their respective pages, as this is probably more useful (if anyone has anything against this, feel free to change it))
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
  | shortcut = Z
  | shortcut = Z
}}
}}
'''Call Custom Method''' is an event in the '''Actions tab''' (also referred to as the '''VFX tab''') that can run custom methods and [[RDCode]].
'''Call Custom Method''' is an event in the '''Actions tab''' (also referred to as the '''VFX tab''') that can run custom methods and [[RDCode]].


Line 44: Line 43:




{{Navbox
{{EventNavBox}}
| name  = Template:EventNavBox
| title = Events
| listclass = hlist
 
| group1 = Sound Tab
| list1  = {{Navbox|child
  | list1 =
* [[Play Song]]
* [[Set Crotchets Per Bar]]
* [[Play Sound]]
* [[Set Beats Per Minute]]
* [[Set Clap Sounds]]
* [[Set Heart Explode Volume]]
* [[Set Heart Explosion Interval]]
* [[Say Ready, Get, Set, Go!]]
* [[Set Game Sound]]
* [[Set Beat Sound]]
* [[Set Counting Sound]]
* [[Comment]]
}}
| group2 = Gameplay Tab
| list2  = {{Navbox|child
  | list1 =
* [[Add Classic Beat]]
* [[Set Beat Modifiers]]
* [[Add Freetime Beat]]
* [[Pulse Freetime Beat]]
* [[Add Oneshot Beat]]
* [[Set Oneshot Wave]]
}}
| group3 = VFX Tab
| list3  = {{Navbox|child
  | list1 =
* [[Set Theme]]
* [[Set VFX Preset]]
* [[Set Background]]
* [[Set Foreground]]
* [[Set Speed]]
* [[Flash]]
* [[Custom Flash]]
* [[Move Camera]]
* [[Hide Row]]
* [[Move Row]]
* [[Play Expression (Row)]]
* [[Paint Rows]]
* [[Bass Drop]]
* [[Shake Screen]]
* [[Flip Screen]]
* [[Invert Colors]]
* [[Pulse Camera]]
* [[Text Explosion]]
* [[Show Dialogue]]
* [[Show Status Sign]]
* [[Floating Text]]
* [[Change Players' Rows]]
* [[Finish Level]]
* [[Comment]]
* [[Stutter]]
* [[Show Hands]]
* [[Paint Hands]]
* [[Assign Hands]]
* [[Set Playstyle]]
* [[Tag Action]]
* [[Call Custom Method]]
* [[Window Dance (Event)]]
}}
| group4 = Decoration Tab
| list4  = {{Navbox|child
  | list1 =
* [[Move Sprite]]
* [[Paint Sprite]]
* [[Play Expression (Sprite)]]
* [[Show/Hide]]
* [[Comment]]
}}
| group5 = Rooms Tab
| list5  = {{Navbox|child
  | list1 =
* [[Show Rooms Horizontally]]
* [[Move Room]]
* [[Reorder Rooms]]
* [[Mask Room]]
* [[Fade Room]]
* [[Set Rooms Perspective]]
* [[Comment]]
}}
}}

Latest revision as of 09:49, 20 November 2024

Call Custom Method
Screenshot of the Event Icon Call Custom Method
TabVFX
TypeCallCustomMethod
OriginrVersion
ShortcutZ

Call Custom Method is an event in the Actions tab (also referred to as the VFX tab) that can run custom methods and RDCode.

Usage

The "Sort offset" parameter can be used to prioritize some methods over others being run. Useful for prioritizing certain methods or making a hierarchy if needed.
The "Execution time" parameter determines whether the method is called on OnBar or on OnPreBar. (Note: This behaviour may be overwritten if this event is placed at the beginning of the chart depending on the value "firstBeatBehaviour" in the rdlevel file's settings.)

Custom Methods

See List of Custom Methods.

RDCode

This event is also commonly used for RDCode, a programming language built in Rhythm Doctor. It can also be used in the "Custom" type of Conditionals.

Surgery

{ "bar": X, "beat": X, "y": X, "type": "CallCustomMethod", "methodName": "", "executionTime": "OnBar", "sortOffset": 0 }

methodName (string)
RDCode to run.

executionTime (enum)
When to execute. Either "OnPreBar" or "OnBar." Behaviour may be overwritten if at the beginning of the chart depending on "firstBeatBehaviour" in the rdlevel file's settings.

sortOffset (number)
Sorting offset of the method relative to other methods. Useful for prioritizing certain methods or making a hierarchy if needed.

History

Trivia