Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Cheats commands like GTA San Andreas

How modify some variable of the player I know...but how i can create some command sequence to like :

Down, Down, Up , Left, Right, A to gain full health or something?

Product Version: Not Selected
more ▼

asked Oct 20 '14 at 10:56 AM in Blueprint Scripting

avatar image

371 55 49 64

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Well one way would be to create a variable with the sequence (translate an input to a letter or number).

For each input you save it in there and at a certain length you go through all your codes which you saved somewhere.

more ▼

answered Oct 20 '14 at 11:00 AM

avatar image

5.9k 291 86 293

avatar image LitStudio Oct 20 '14 at 01:54 PM

Can you post a screenshot?

avatar image Erasio Oct 20 '14 at 05:28 PM

First you obviously need to get the input. Lazy ass I am I use a custom event to append the string but that doesn't matter. The important part is: Those keys simply append the string by whatever stand in the "Char" field.

alt text

I use the double down reset to reset the code. So every cheatcode had to start with that. You can see it in the picture at the "True Branch". Before that I simply check for the last character in the string. If it was a d it resets the code and simply puts in a single d. You could also make it start with a dd (since you set the code) so a single d won't trigger it.

alt text

And last but not least I check if that is a code. Because the user can input whatever I check first if it has a certain length and if it's too long so it won't go through all codes always. In case you use buttons which are used ingame this might be irritating and if you have tons of codes it might impact performance otherwise. You might also want to add something to reset the string automatically since otherwise it might get too long and I have no idea what happens in that case. I tried 180 characters until I became tired but it might crash at more... honestly no idea. But it's never a good idea to have a potentially infinite string.

alt text

getinput.png (224.1 kB)
append&reset.png (182.4 kB)
checkcode.png (118.5 kB)
avatar image LitStudio Oct 20 '14 at 05:39 PM

Good! :D I will read with more attention because there are some nodes i never used....but thanks anyway.....i will made a test soon...

avatar image LitStudio Oct 20 '14 at 06:16 PM

OH YEAH!!! THANKS....the button to reset the password was little trick to understand...but...yeah...it works!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question