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 [2019/04/13 16:19]
4ian
gdevelop5:events:functions [2019/04/13 16:20] (current)
4ian
Line 1: Line 1:
 #Functions #Functions
  
-"​Events ​Functions" or simply ​Functions are a powerful feature of GDevelop. [[gdevelop5:​interface|External events]], [[gdevelop5:​events:​link|links]] and [[gdevelop5:​events:​group|groups]] are useful to organize the events of your game, and even reuse some in more than one place in your game. For example, you could put common events to manage the enemies in some external events, and include these events, using a link, in various scenes.+An "​Events ​Function" or simply ​Function us a powerful feature of GDevelop. [[gdevelop5:​interface|External events]], [[gdevelop5:​events:​link|links]] and [[gdevelop5:​events:​group|groups]] are useful to organize the events of your game, and even reuse some in more than one place in your game. For example, you could put common events to manage the enemies in some external events, and include these events, using a link, in various scenes.
  
 Functions are going one step further: they allow you to declare **new conditions**,​ **new actions** and even **new expressions**,​ using events. Functions are going one step further: they allow you to declare **new conditions**,​ **new actions** and even **new expressions**,​ using events.