x

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"

Programmatically Set Default Values

Modding for Ark Survival.

I have developed a Total Conversion mod. Seems like whenever source blueprint files are updated, I need to manually apply all the default variables again.

How can I set the default variables for blueprint assets programmatically. Lets say I have a blueprint called "MyBlueprintA" with a default value field "ValueA". I'd like to call MyBlueprintA.Value = 5;

Can this be achieved?

Furthermore, components may be attached to the blueprint and I want to be able to change the default values for those as well without having to do it manually.

Should be able to save the file as well after.

Product Version: Game Mod
Tags:
more ▼

asked Apr 14 '17 at 08:41 AM in Blueprint Scripting

avatar image

Covert_Owl
16 1 3 4

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

1 answer: sort voted first

Set your values in the construction script

more ▼

answered Apr 14 '17 at 03:40 PM

avatar image

vanlacke
1.5k 65 132 103

avatar image Covert_Owl Apr 14 '17 at 10:57 PM

Thanks for your answer. Although, if the entire blue print file is overwritten when the dev kit updates, aren't the default constructor script changes also lost?

avatar image majnoon313 Jan 03 '19 at 08:04 AM

i have same question plz answer it!

avatar image majnoon313 Jan 04 '19 at 10:49 PM

plz answer it

(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