Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gdevelop5:events:functions:extract-events [2019/04/13 16:11]
4ian
gdevelop5:events:functions:extract-events [2019/04/13 16:38] (current)
4ian [Extract Events to a Function]
Line 2: Line 2:
  
 When you right click on a selected events (or after selecting more than one event), you can choose the menu item "//​Extract Events to a Function//"​. When you right click on a selected events (or after selecting more than one event), you can choose the menu item "//​Extract Events to a Function//"​.
 +
 +{{ :​gdevelop5:​events:​functions:​extract-events-to-function.png?​nolink |}}
  
 GDevelop analyzes the selected events and sub-events, will extract them in a function and will display a window to allow you to customize this [[gdevelop5:​events:​functions|function]]. After you've filled the fields, click on Create to have the function created and the selected events replaced by a call to the [[gdevelop5:​events:​functions|function]]. GDevelop analyzes the selected events and sub-events, will extract them in a function and will display a window to allow you to customize this [[gdevelop5:​events:​functions|function]]. After you've filled the fields, click on Create to have the function created and the selected events replaced by a call to the [[gdevelop5:​events:​functions|function]].