move_to_new_town limitation
Author | Topic: move_to_new_town limitation |
---|---|
Warrior
Member # 4202
|
written Saturday, April 10 2004 13:34
Profile
Homepage
move_to_new_town appears to only work when the party enters one of those blue special rectangles placed in the editor. I tried using it in a terrain script and the START_STATE of a town script. In those cases that fail, it seems to block the party's movement and end the script, without taking them to the other town.. -------------------- Creator of the 3D Blades of Avernum Editor for Mac. Get it at Ingenious Isaac's Illusion, my web page. Better yet, get Battle for Wesnoth, a wonderful free TBS game. Posts: 192 | Registered: Sunday, April 4 2004 08:00 |
Law Bringer
Member # 2984
|
written Saturday, April 10 2004 13:46
Profile
Homepage
start_state... Isn't that the one called when the party enters the town? Couldn't you use variable town entry in that case? -------------------- Encyclopaedia • Archives • Members • RSS [Topic / Forum] • Blog • Polaris • NaNoWriMo Look on my works, ye mighty, and despair. I have a love of woodwind instruments. Posts: 8752 | Registered: Wednesday, May 14 2003 07:00 |
Shock Trooper
Member # 4180
|
written Saturday, April 10 2004 14:06
Profile
I've never tried using it from a terrain script, but in a town script, it appears to be one of those things that only works from a user-defined state, and not any of the predefined ones. I started a thread here when I was trying to call it from EXIT_STATE and couldn't make it work. -spyderbytes -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
The Establishment
Member # 6
|
written Saturday, April 10 2004 15:03
Profile
The same was pretty much true in Blades of Exile as well. -------------------- Your flower power is no match for my glower power! Posts: 3726 | Registered: Tuesday, September 18 2001 07:00 |
Shock Trooper
Member # 4154
|
written Sunday, April 11 2004 14:47
Profile
Maybe you can use "set_state_continue" to go to another state and then use the call. -------------------- You're a moron if you think I'm not. Posts: 213 | Registered: Friday, March 26 2004 08:00 |
Shock Trooper
Member # 4180
|
written Sunday, April 11 2004 15:37
Profile
quote:That didn't work, at least for EXIT_STATE (the only one I tried). The way it behaves, I'm guessing the party has already left the town (as far as the engine is concerned) before EXIT_STATE is called. EDIT: I meant to add that START_STATE is called every turn the party is in the town. INIT_STATE is the one called when the party enters the town. So, no, a move_to_new_town() in START_STATE wouldn't be equivalent to variable town entry. -spyderbytes [ Sunday, April 11, 2004 15:41: Message edited by: spyderbytes ] -------------------- -spyderbytes Posts: 200 | Registered: Wednesday, March 31 2004 08:00 |
Apprentice
Member # 4340
|
written Saturday, May 1 2004 20:23
Profile
I had hoped to get this to work from STEP_INTO_SPOT_STATE but have had no luck (I'm guessing this is the right way to go about this). I wanted to create a terrain script that could be placed on stairways, ladders, etc to save me from having to create another state in the town script every time I want the party to switch towns. Posts: 1 | Registered: Saturday, May 1 2004 07:00 |
Apprentice
Member # 4123
|
written Friday, January 7 2005 21:42
Profile
I don't suppose anyone has found a way around this limitation. I also wrote a script like that and it really bugs me that I can't use a terrain script for things like going down stairs. Terrain scripts and memory cells would be a lot simpler than writing a new special encounter for ever stairway/ladder. Posts: 21 | Registered: Saturday, March 20 2004 08:00 |