Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OverridePulseCSharpCode -condition question

Featured Replies

hey guys

i have a problem with the following quest step

I want to interact with an object and then press a button

so far no problem
after pressing the button he should jump to the next quest step but he does not do that he repeats the steps
I need a condition that he jumps to the next step if
when he has pressed the button

does anyone know how to do that?


here the SharpCode

 

		var npcPos = new Vector3(450.2473f, 1446.444f, 741.041f);
		var npcID = 273292;

		npcPos = new Vector3(450.2473f, 1446.444f, 741.041f);
		npcID = 273292;
		
		GoToTask.ToPositionAndIntecractWithGameObject(npcPos, npcID, 1);
		Thread.Sleep(3000);
		Lua.LuaDoString ("QuestChoiceFrameOption1.OptionButton:Click()");
		Thread.Sleep(1000);

		return true;

 

and in the FullCSharpCode can i make a threadsleep timer after use a item on Npc?

 

public sealed class AnOfferingofLight : QuestUseItemOnClass
{
    public AnOfferingofLight() 
    {
		Name = "An Offering of Light";
		
        QuestId.Add (48559);

        Step.AddRange(new[] { 1, 0, 0, 0 }); 
        HotSpots.Add(new Vector3(409.9177f, 1426.398f, 741.7526f));
        ItemId = 152593; 
        Range = 5 ; 
        EntryIdTarget.Add(126700); 
        Thread.Sleep(8000); // Time to wait after using the Item??
    }
}

thanks for help

 

best regards

createdby

 

Edited by createdby

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.