Jump to content


Miloch

Member Since 20 Oct 2006
Offline Last Active Jan 08 2018 07:08 PM

Posts I've Made

In Topic: OMG...

08 January 2018 - 07:02 PM

Last I heard, they were working on the G (Giants) series, one of the issues being the artist took French leave (i.e. went missing unexpectedly) as did some of the project members. Would be very cool to see it finished, EE or not.


In Topic: SetTrap for thieves?

08 January 2018 - 06:59 PM

I don't know about RR, but I use stuff like this in trapper scripts:

IF
  HaveSpell(4414)
  !GlobalTimerNotExpired("t-cn","LOCALS")
  Range(LastSeenBy(),20)
THEN
  RESPONSE #50
    SetGlobalTimer("t-cn","LOCALS",6)
    Spell(Myself,4414)
    RunAwayFrom(LastSeenBy(),15)
  RESPONSE #50
    Continue()
END

IF
  HaveSpell(4412)
  !GlobalTimerNotExpired("t-cn","LOCALS")
  Range(LastSeenBy(),20)
THEN
  RESPONSE #50
    SetGlobalTimer("t-cn","LOCALS",6)
    Spell(Myself,4412)
    RunAwayFrom(LastSeenBy(),15)
  RESPONSE #50
    Continue()
END

4412 is SET_SNARE_TRAP and 4414 is SET_SPECIAL_SNARE_TRAP. I used numbers because these aren't defined in every spell.ids (and I may or may not have bothered to add them if they're absent).

I think it works, more or less. There's not a 100% chance of the block firing every time so the thieving little gits aren't setting traps all the time (sometimes they'll try to backstab or throw knives instead).
 


In Topic: REPLACE_TEXTUALLY with word sensitive regexp?

08 January 2018 - 06:55 PM

The problem is likely EXACT_MATCH, which is going to be looking for \b exactly. You don't want that, and for that matter, using CASE_SENSITIVE instead of CASE_INSENSITIVE will avoid matching "dorn" in "Keldorn." With the word boundary, it won't match possessives either (e.g. Dorn's).

 

So you might just try:

REPLACE_TEXTUALLY CASE_SENSITIVE ~Dorn~ ~Dorna~

If there's any words that begin with a capital "Dorn" you don't want to change, you can tweak it accordingly.


In Topic: PickPocketFailed()

06 January 2018 - 06:41 PM

Heya Salk!

 

While I'm not the expert on newfangled tech these days (ToBEx being newfangled, lol, as if), I guess I can only ask some obvious questions:

 

1) You're trying to pickpocket Marek obviously, after extending his script, right?

2) You're trying it with a character who's likely to fail and does so, preferably the actual PC?

 

Only other recommendation is to try DisplayStringHead() instead of Kill(), since you can try to trigger that multiple times and it might thus be more replicable (for testing).

 

[Edit: I see now on G3 that CamDawg had a remotely related comment about instant triggers, but to be honest, I'm not so sure that's the case here, unless there's more to that script.]


In Topic: Which STO file is for High Hedge?

03 January 2018 - 05:19 PM

It's highhedg.sto (or _ighhedg.sto in Tutu); pretty sure the others are unused.