i cant explain that but

Report any bugs here or ask questions here!

i cant explain that but

Postby Microsoft Edge » 20 October 2020, 04:40

how to make that button that should do 2 actions (well example you pressed E, Door opened, pressed e again - door closed) without creating another button which should do another action, idk how to explain it propectly

Microsoft Edge
Recruit
 
Posts: 4
Joined: 20 October 2020, 03:45

Re: i cant explain that but

Postby xElijah » 20 October 2020, 15:11

> Set variable "A" value to value "B" if "A" is not defined
A: (var1)
B: 1

> Skip next trigger action if value of variable "A" does not equals value "B"
A: (var1)
B: 1

> Force movable "A" move to region "B"
A: #door*1
B: #region*1

> Skip next trigger action if value of variable "A" does not equals value "B"
A: (var1)
B: 2

> Force movable "A" move to region "B"
A: #door*1
B: #region*2

> Add value "B" to value of variable "A"
A: (var1)
B: 1

> Continue trigger actions execution only if variable "A" has greater value than value "B"
A: (var1)
B: 2

> Set variable "A" value to value "B"
A: (var1)
B: 1
User avatar
xElijah
Usurpation Soldier [50]
 
Posts: 96
Joined: 3 October 2020, 15:43

Re: i cant explain that but

Postby Microsoft Edge » 21 October 2020, 15:22

xElijah wrote:> Set variable "A" value to value "B" if "A" is not defined
A: (var1)
B: 1

> Skip next trigger action if value of variable "A" does not equals value "B"
A: (var1)
B: 1

> Force movable "A" move to region "B"
A: #door*1
B: #region*1

> Skip next trigger action if value of variable "A" does not equals value "B"
A: (var1)
B: 2

> Force movable "A" move to region "B"
A: #door*1
B: #region*2

> Add value "B" to value of variable "A"
A: (var1)
B: 1

> Continue trigger actions execution only if variable "A" has greater value than value "B"
A: (var1)
B: 2

> Set variable "A" value to value "B"
A: (var1)
B: 1

thanks buddy

Microsoft Edge
Recruit
 
Posts: 4
Joined: 20 October 2020, 03:45


Return to Bug Reporting, Help & Support

Who is online

Users browsing this forum: No registered users