Jump to content

Need help getting script to work


ELPascal

Recommended Posts

Hi there, I'm a total novice when it comes to scripting, so if somebody could help me understand which obvious mistake I made when setting up this triggerscript: ...

 

scn 11aTravelersTeleportBackTriggerTEST
begin OnTriggerEnter 11aTrooperLeaderRef
11aTrooperLeaderRef.moveto 11aTestMarkerREF
endif
end
... I'd be very grateful.
The idea is that an npc patrols along a couple of xmarkers, which lead directly into a trigger. Upon entering this trigger he gets moved back to a marker near the beginning of his patrol, causing him to start over. Seems simple enough, but the Geck won't let me save and I can't figure out where the trouble lies. Anyone more observant got an idea?
Thanks in advance!
Edited by ELPascal
Link to comment
Share on other sites

Try it without numbers in the ref ids and script name and get rid of the unnecessary endif. Otherwise, it looks like it should work.

 

Alright, I'll try that, thanks! I've got a habit of calling everything "11axxx" to make finding stuff easier, guess I'll have to overcome that.

Link to comment
Share on other sites

Evvery modder tries the "00" for easy list sorting. ÃÃÂ But it's the next level when you use "11"

HeheÃÃÂ :teehee:

Maybe I'm weird, but I went right to "aa". Eventually I moved on to "Um", but I still use "aa" for testing if I'm feeling too lazy to scroll through "UI" and "UL". Edited by uhmattbravo
Link to comment
Share on other sites

Evvery modder tries the "00" for easy list sorting. But it's the next level when you use "11"

Hehe :teehee:

I started using 11a to prevent npcs to show up after the 188-people, which are first in the list and then just ended up using the same numbers for everything else for simplicity's sake. Don't know why I didn't simply use 00 though, lol.

Link to comment
Share on other sites

LOL ya I'm overstating it for comedic purposes.

But I would guess the 00 problems rear their ugly head sooner ... then people passing on alarmist rumors about using any numbers in the prefix. When obviously you can get away with it in some cases.

It seems to be the worst when using a script command telling that form-ID to do something ???

IDK ... just using the seems to me method anyways :huh:

Edited by Mktavish
Link to comment
Share on other sites

 

Evvery modder tries the "00" for easy list sorting. ÃÃÂ But it's the next level when you use "11"

HeheÃÃÂ :teehee:

Maybe I'm weird, but I went right to "aa". Eventually I moved on to "Um", but I still use "aa" for testing if I'm feeling too lazy to scroll through "UI" and "UL".

 

 

Actually I started out with "zz" & "zzz" and still use them for testing purposes. But one of the people I was building a mod with used "00" so I started using it cuz it was so darn handy ... Till !?!?

 

Ya I like your "um" prefix ... it does stand out fairly well in the lists. Maybe I'll have to steal it ... hehe :devil:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...