Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
gdevelop5:all-features:dialogue-tree [2020/05/15 12:15]
blurymind [3. [[Option]] line type]
gdevelop5:all-features:dialogue-tree [2020/05/15 12:18]
blurymind [3. [[Option]] line type]
Line 165: Line 165:
 [[Bird Head|PickBirdMascot0]] [[Bird Head|PickBirdMascot0]]
 <<​endif>>​ <<​endif>>​
 +</​code>​
  
 +If you want to just send the player to another node (PickRobotMascot0) without displaying any options when the if statement is true, you can do:
 +<​code>​
 +Ok kids we're gonna go with...
 +<<if $robot_head_0_done == 1>>
 +[[Frog Head|PickRobotMascot0]]
 +<<​else>>​
 +[[Actually, I'm not sure yet...|NotSure]]
 +[[Bird Head|PickBirdMascot0]]
 +<<​endif>>​
 </​code>​ </​code>​
 +
 ---- ----