View previous topic :: View next topic |
Author |
Message |
Dracos
Joined: 16 Oct 2006 Posts: 21
|
Posted: Tue Nov 21, 2006 14:55 Post subject: SQLLocationToString and SQLStringToLocation |
|
|
It seems that I can only store SQLLocationToString(GetLocation(player)) in the DB.
If I try something like this
AssignCommand(oPC, ActionJumpToLocation(SQLStringToLocation(old_loc)))
it does nothing. If I try (for debug purpose)
SendMessageToPC(oPC, "your stored location is "+SQLLocationToString (GetLocation(oPC)));
doesn't rcall anything. |
|
Back to top |
|
|
amphiprion
Joined: 07 Nov 2006 Posts: 44 Location: Toulouse (France)
|
Posted: Tue Nov 21, 2006 15:36 Post subject: |
|
|
Did yo define a TAG to your Area ?
If not, the fonction will not work. |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Tue Nov 21, 2006 19:48 Post subject: |
|
|
Good point amphiron -- all new areas in NWN2 default to having no tag. |
|
Back to top |
|
|
Dracos
Joined: 16 Oct 2006 Posts: 21
|
Posted: Wed Nov 22, 2006 12:42 Post subject: |
|
|
ohmg! No tag!
Ok, now everything' s functioning perfectly. Thx a lot Amphiprion! |
|
Back to top |
|
|
|