Hey everyone.
How can I (constantly) convert an Int variable into a String variable?
Hey everyone.
How can I (constantly) convert an Int variable into a String variable?
Consider yourself as a problem in the world...
this sequence is from the arcade mode of my game,and gives the player one point for every second that he is carrying the flag and removes one point for every second he is not,then displays it on screen using the kismet nodes from here.http://forums.epicgames.com/threads/...et-UI-solution
i am away next week,but when i get back i intend to start a thread showing beginners how to create a single player game through kismet.im no expert but have created what i think is a hugely enjoyable single player game with many features.i havent posted any videos of my work for a while and the ones on my site dont show much of what is currently there.i will post a new video before i go on sunday,showing all the features so people can see what to expect.
I tried that 'convert to int' sequence, but then I got spammed with error messages.
Consider yourself as a problem in the world...
hey. Could you explain me the necessity of the 'animate number' sequence?
What I now have is:
Level loaded event -> Convert to string (input: Player's score <INT>, output: Empty string) -> Render text box (Text: the Empty String from the 'convert to string' sequence). Now, because this score neets to be frequently updates as it changes a lot, i have set a 0.5 second timer to re-check the Player's Score, then convert it into the string again, and let that result display on the screen.
Yet, this does NOT work. For some reason, kismet refuses to convert my Int into a string. Help please?
Consider yourself as a problem in the world...
I never created a Kismet node, but you'd want it to accept 2 variables, then on the Activated event you would need to take Var1 (an integer) and assign Var2 (a string) to that integer converted into a string, something like this:
Might I remind you this is pseudo-code and the function call may not be ActivateOutput.Code:event Activated() { Var2 = string(Var1); ActivateOutput(0); // Something like this. }
Sorry I didn't give you full working code, I would have but I have to go to school now.
Good luck!![]()
Youtube Channel | Website
Unreal Sed [IDE]: UDK Thread | UT2004 Thread | UT3 Thread | Supports: UDK and all the games in the Unreal series.
UT2004: UT3 Viper for UT2004 | Heal Link Gun for UT2004 | UT3 Nightshade for UT2004 | UT3 Goliath for UT2004 | UT3 Manta for UT2004 | UT3 Raptor for UT2004 | UT3 Paladin for UT2004 | UT2004 Initor
UT3: Heal Link Gun for UT3 [PC] [PS3] | UT3 INI Color Tweak | Essence Link Gun for UT3 [PC] [PS3]
Oh please no unreal script o_o
Consider yourself as a problem in the world...
I can go and try to make the node for you. I would give it compiled, so you would only need to add the package to the .ini (or load it into the editor in the classes browser).
Then you'd only need to go to kismet and add the node.
I've never created Kismet nodes tough, so it may take more than an hour.
Youtube Channel | Website
Unreal Sed [IDE]: UDK Thread | UT2004 Thread | UT3 Thread | Supports: UDK and all the games in the Unreal series.
UT2004: UT3 Viper for UT2004 | Heal Link Gun for UT2004 | UT3 Nightshade for UT2004 | UT3 Goliath for UT2004 | UT3 Manta for UT2004 | UT3 Raptor for UT2004 | UT3 Paladin for UT2004 | UT2004 Initor
UT3: Heal Link Gun for UT3 [PC] [PS3] | UT3 INI Color Tweak | Essence Link Gun for UT3 [PC] [PS3]
the animate number was just to move the final score up the screen at the end of the game.i should have removed the unnessacary bits before posting the pic.did you get it working?what errors are you getting?
gaz, I'm getting nothing, that's the entire point. Somehow the game refuses to convert the Int into the string. I can't go on my UDK computer this weekend, yet I'm still checking the forums on my Ipad. So I can't directly check if a suspision works, ok?
Consider yourself as a problem in the world...
Bookmarks