temnix Posted June 1, 2021 Share Posted June 1, 2021 Apparently, the local variable setter can take coordinates. But is that good for anything? Is there an effect that records the coordinates of a creature or a point? Or can this information from 309 be inserted somewhere? Quote Link to comment
kjeron Posted June 1, 2021 Share Posted June 1, 2021 244 SaveLocation(S:Area*,S:Global*,P:Point*)245 SaveObjectLocation(S:Area*,S:Global*,O:Object*)246 CreateCreatureAtLocation(S:GLOBAL*,S:Area*,S:ResRef*)297 MoveToSavedLocation(S:GLOBAL*,S:Area*) 0x40E4 NearSavedLocation(O:Object*,S:Global*,I:Range*) Quote Link to comment
temnix Posted June 2, 2021 Author Share Posted June 2, 2021 But these aren't usable in ready form, are they? I mean, if were doing a patch of a template BAF with two %%s in [x.y] for coordinates, then you could... no, I don't see how data from a local variable set inside the game could be inserted in any of these. But these two actions are interesting, 245 and 246. They are not in the Gibberlings' Triggers section, so I have to ask. They don't have to refer to the same area, do they? It's possible to save the location of one creature in area A and create another creature at those coordinates in area B? Like this: SaveObjectLocation("AR2616","WHERE","innke2") CreateCreatureAtLocation("WHERE","AR2617","innke2") To put another Winthrop on the second floor of Candlekeep's inn directly above the original. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.