TerraMcCloud Posted September 30, 2013 Share Posted September 30, 2013 (edited) I need help setting up one small script, basically I am trying it up so when the player drinks an item called the "Mead of Challenge" they are taken to the beginning of the challenge dungeon and all items are removed from their inventory.(Items are given within the dungeon) I have the script effect set on the mead as a script effect spell, but when I use the mead nothing happens. this is the script I have set up I probably done it way wrong, if I did please dont be too harsh. ScriptName AAChallengeLabyrinthInvScript begin ScriptEffectStart player.removeallitems AAChallengeDungeonChest player.GetInCell AAChallengeDungeonHub End Sorry I am the newbiest of newbs at scripts. EDIT: I got the removeallitems bit to work, but the getincell still does not work. EDIT2: Got it somehow, derped about with the scripts and made it work. If any staff wants to they can lock this. Edited October 1, 2013 by welchdrew Link to comment Share on other sites More sharing options...
Lanceor Posted October 1, 2013 Share Posted October 1, 2013 I know you said that you've fixed it already, but I did notice this: player.GetInCell AAChallengeDungeonHub... is actually a query as in: if player.GetInCell AAChallengeDungeonHub Do something endifI think you wanted something like:player.MoveTo AAChallengeDungeonMarker...where AAChallengeDungeonMarker is an XMarkerHeading that you've placed and named. Link to comment Share on other sites More sharing options...
TerraMcCloud Posted October 2, 2013 Author Share Posted October 2, 2013 I know you said that you've fixed it already, but I did notice this: player.GetInCell AAChallengeDungeonHub... is actually a query as in: if player.GetInCell AAChallengeDungeonHub Do something endifI think you wanted something like: player.MoveTo AAChallengeDungeonMarker...where AAChallengeDungeonMarker is an XMarkerHeading that you've placed and named. Yes I figured out I needed a Moveto not a Getincell. :P Link to comment Share on other sites More sharing options...
Recommended Posts