I apparently have no idead how to use script to createa quest... i made my plot with conditions and actions easy enough and put them to the conversation but writting the script to run the plot flagsis almost alien to me Ive tried the tutorial on the wiki and the final result wont save because of a "variable undefined" i think. So any help so i can set up a quest period would help me a ton thanks
I am soo lost
Started by
Mister Chupa
, Dec 15 2013 09:28 PM
#1
Posted 15 December 2013 - 09:28 PM
#2
Posted 15 December 2013 - 11:31 PM
What are you trying to do? I'm guessing that you are setting the flag in the conversation, but what are you trying do after you set the flag?
Variable undefined means that you haven't defined a variable as an int, float, object, etc
Variable undefined means that you haven't defined a variable as an int, float, object, etc
#3
Posted 16 December 2013 - 08:15 AM
take demo module and play with it.. just open it and see how it's made..
also, you have Sunjammer's demo modules like deep roads courier and rats in the cellar, it is very good stuff to learn some things about scripting, plots, la-la-la..
also, you have Sunjammer's demo modules like deep roads courier and rats in the cellar, it is very good stuff to learn some things about scripting, plots, la-la-la..
#4
Posted 16 December 2013 - 08:42 AM
We all start off lost: my first attempt at using plot flags was a bit of a disaster (and we had to demo it in front of a bunch of guys at BioWare). I jotted down some notes which you might find useful.
Also if you post your script we might be able to tell you what the issue is. Make sure you wrap the code in [code] and [/code] tags.
Also if you post your script we might be able to tell you what the issue is. Make sure you wrap the code in [code] and [/code] tags.
Edited by Sunjammer, 16 December 2013 - 08:43 AM.
- DarthGizka likes this
#5
Posted 25 April 2014 - 01:55 PM
You're further than I am
#6
Posted 25 April 2014 - 05:51 PM
Sometimes you get the 'undefined variables' message if you forgot to #include the plot file or some other header file, like "events_h".
You can switch the identifier pick list at the right of the script window to "C" for "constants" and type a fragment like "nt_ty" to quickly see all "EVENT_TYPE_" constants, for example. If you cannot see your identifier there then you haven't included the proper file for it.





Back to top







