Jump to content

Storing strings in variables


Glenstorm

Recommended Posts

Title explains all. Okay so how would I go about doing this? Is there a special variable like int/float, coz I can't find anything like that. If none exists, can I use globals? How would I edit globals? Can I create a new global? Edited by Glenstorm
Link to comment
Share on other sites

Let's start further back. This scripting language is not a "real" programming language. Suppose you store a string; what are you going to do with it? Things like item references cannot be passed as string variables. It is possible to use strings with integers and floats as variables in message boxes; but AFAIK there is no way to construct a string and pass it into a message box either.
Link to comment
Share on other sites

Let's start further back. This scripting language is not a "real" programming language. Suppose you store a string; what are you going to do with it? Things like item references cannot be passed as string variables. It is possible to use strings with integers and floats as variables in message boxes; but AFAIK there is no way to construct a string and pass it into a message box either.

 

Lots of uses.. For example you could make a settlement, name it yourself and use that name in dialogues/map markers. Same thing applies for guns or pretty much any other object. There are strings defined in Game Settings which you can edit in the Settings box itself. Dunno how to do it in script though. But yeah, you are right. I don't see any feasible way that the current scripting language would allow such versatility. I was trying whether I could bring about the custom weapon stuff from Oblivion... you know where you can enchant it with anything and name it yourself. That is a concept I sorely miss in Fallout games :unsure:.

Edited by Glenstorm
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...