How do I create text after a variable in a text box?

Get help using Construct 2

Post » Wed Nov 09, 2016 4:33 pm

I want to have the word seconds after this phrase -"Boss In "&BossTime- but I can't figure out how, please help
B
3
Posts: 8
Reputation: 195

Post » Wed Nov 09, 2016 6:04 pm

Here, i made a sample .capx : https://1drv.ms/u/s!AjcW2ueud6qp1RG4IWecWhcLlC3x
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
67
S
22
G
90
Posts: 1,125
Reputation: 60,036

Post » Wed Nov 09, 2016 6:43 pm

I'm doing this at school and it is not updated to that version, is there an easier way?
B
3
Posts: 8
Reputation: 195

Post » Wed Nov 09, 2016 6:49 pm

gmjones wrote:I'm doing this at school and it is not updated to that version, is there an easier way?


What version are you using?

These are the screenshots of the events & editor:

Image

Image

Image

The Text Ragnarok is from the text variable String that is obtained from the Textbox.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
67
S
22
G
90
Posts: 1,125
Reputation: 60,036

Post » Wed Nov 09, 2016 7:15 pm

Version 233, and I have it set so that every second it counts down and I have a global variable that controls the text so that every second it subtracts from the 60 to when it reaches 0 it spawns a boss, but I can't put seconds after the &BossTimer
B
3
Posts: 8
Reputation: 195

Post » Wed Nov 09, 2016 7:21 pm

gmjones wrote:Version 233


I suggest you update : https://www.scirra.com/construct2/releases/r239
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
67
S
22
G
90
Posts: 1,125
Reputation: 60,036

Post » Wed Nov 09, 2016 7:22 pm

Its my schools computer and I can't update
B
3
Posts: 8
Reputation: 195

Post » Wed Nov 09, 2016 7:23 pm

gmjones wrote:Version 233, and I have it set so that every second it counts down and I have a global variable that controls the text so that every second it subtracts from the 60 to when it reaches 0 it spawns a boss, but I can't put seconds after the &BossTimer


Input this: BossTimer & "Seconds"
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
67
S
22
G
90
Posts: 1,125
Reputation: 60,036

Post » Wed Nov 09, 2016 7:30 pm

Message: gmjones can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
http://imgur.com/2K22106 That doesn't work either
B
3
Posts: 8
Reputation: 195

Post » Wed Nov 09, 2016 7:34 pm

gmjones wrote:http://imgur.com/2K22106 That doesn't work either


BossTimer is supposed to be the name of the Timer Variable..... I just used the name you gave. It should work.
The red underline indicates the error that the "BossTimer" isn't declared as a variable. So you need to declare it first.
Last edited by chadorireborn on Wed Nov 09, 2016 7:35 pm, edited 1 time in total.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
67
S
22
G
90
Posts: 1,125
Reputation: 60,036

Next

Return to How do I....?

Who is online

Users browsing this forum: work3, Yahoo [Bot] and 6 guests