Using apostrophes

Sharkycast
28 Nov 2016, 22:31

It seems that using apostrophes causing problems when naming objects. Is there a way to name an object, say: Bob's watch

Or a room called Jim's Room

etc?


Deckrect
28 Nov 2016, 23:11

Yes. Bob Watch. Special characters does not work on Object's names.


hegemonkhan
28 Nov 2016, 23:31

use the Object's 'name' (ID) String Attribute for your own organizational system, and then you can use the 'alias' String Attribute or your own String Attribute for the Object's name for what the person playing the game will see, for example:

<object name="orc_1_monster_1_object">
  <attr name="alias" type="string">orc</attr>
</object>

<object name="orc_2_monster_2_object">
  <attr name="alias" type="string">orc</attr>
</object>

<object name="orc_3_monster_3_object">
  <attr name="alias" type="string">orc</attr>
</object>

<object name="dragon_1_monster_4_object">
  <attr name="alias" type="string">dragon</attr>
</object>

<object name="dragon_2_monster_5_object">
  <attr name="alias" type="string">dragon</attr>
</object>

if you really want an 's/S', then just ignore the grammer characters/symbols like apostrophies and etc, for example:

<object name="bobs_bike">
  <attr name="alias" type="string">bob's bike</attr>
</object>

// or, you could use the underscore:

<object name="bob_s_bike">
  <attr name="alias" type="string">bob's bike</attr>
</object>

also, for the 'name' (ID) String Attribute you shouldn't use spaces, as it can cause problems.

also, quest IS case-sensitive:

'a' not equal to 'A'


I personally like using the underscore, no caps, and to be very descriptive, as you've probably seen with my code, lol.