PDA

View Full Version : Question on scripting



danio43us67
02-26-2012, 12:39
A very tiny question on scripting...

When writing a spawn_army script (for example) in the character section are you supposed to write:

"character, Publius the Weirdo" OR "character Publius the Weirdo"

It's just that comma I'm asking about


I've seen both used in the EBBS script. After checking the script for errors using PatricianS Script Validator I got errors for the one with commas.

BTW the name doesn't exist in the game, it's just for demonstration.


Thanks for your replies.





EDIT

Another question. "armour" & "armor are both used a lot in the EBBS script. Anyone know which one to use?

danio43us67
02-27-2012, 21:46
As for the comma after some research :book2: I'm ALMOST sure that it shouldn't be there :yes:

As for the armour bit I don't have a clue. EBBS script uses both thousands of times. Anyone know whether it has an effect? (The docudemons files say it should be "armour" - with the "u"; but they aren't always super accurate :inquisitive:)


Sorry, these questions aren't too important and not many people would know the answer, but I'm this kind of person who wants to have everything as perfect as possible :yes: