JcHARP Posted February 24, 2013 Share Posted February 24, 2013 Ok so I have been using Getdistance on my quest scripts and at first it started working. Now I have to shutdown my game reload it and it then works for that one instance. I need to be standing near in the radius of it to tell my quest script to go to the next stage. Here is what my script for quest two is: SCN NVContractsQS02 Short DoOnce Short DoOnce2 Begin GameMode If NVContractsQuestMarkerREF1.GetDistance Player <= 1500 && GetStage NVContractsQ02 >= 0 SetStage NVContractsQ02 5 NVContractsTylerMarrowREF.enable AddTopic NVContractsBillyAssociateConvoTopic01 endif If NVContractsQ02MarkerRefSH1.GetDistance Player <= 2500 && GetStage NVContractsQ02 >= 15 && GetStage NVContractsQ02 <= 150 SetStage NVContractsQ02 20 endif If GetStage NVContractsQ02 == 25 AddTopic NVContractsReceptionistConvoTopic01 endif If GetStage NVContractsQ02 == 30 AddTopic NVContractsPizanoConvoTopic01 endif If DoOnce2 == 0 && GetStage NVContractsQ02 >= 150 NVContractsMadGuardRef.EVP Set DoOnce2 to 1 endif If NVContractsBunkerMarkerRef1 Player <= 1500 && GetStage NVContractsQ02 >= 40 && GetStage NVContractsQ02 < 150 SetStage NVContractsQ02 45 NVContractsBunkerDoorRef.Unlock AddTopic NVContractsBillyOldenTopic01 endif end What am I doing wrong. I've read the geck wiki and I seem to be doing it right to a point but, its not working as I intended it. Link to comment Share on other sites More sharing options...
Xaranth Posted February 24, 2013 Share Posted February 24, 2013 If NVContractsBunkerMarkerRef1 Player <= 1500 && GetStage NVContractsQ02 >= 40 && GetStage NVContractsQ02 < 150 SetStage NVContractsQ02 45 NVContractsBunkerDoorRef.Unlock AddTopic NVContractsBillyOldenTopic01 endifYou don't actually call getDistance in that condition, for one thing. Also if you did, that code group would run every frame; I suspect you meant that as 'getStage NVContractsQ02 <= 40'. No other obvious errors that I detect. Link to comment Share on other sites More sharing options...
JcHARP Posted February 24, 2013 Author Share Posted February 24, 2013 Thank you, I didn't realize that silly mistake xD. That's strange how everything seems to work other than what I am trying to do. :( Link to comment Share on other sites More sharing options...
JcHARP Posted February 24, 2013 Author Share Posted February 24, 2013 wow i think that fixed my problem LOL Link to comment Share on other sites More sharing options...
Recommended Posts