Blackscale Clan
  2059 active members
  191 are online

Year

19

Day

329

Time

23:13:10

Guest
Login
snewsgnewsmessagegeneralfactioninventorycombatroom
Year 15 Day 364 6:48
Charlena Halo

I saw that most of the old variables for the NPC scripting are intact, but how do I format them for the new scripting system?

For example, I use this line to get my location
(say (concat "We are " (Get-location.system))) 


In the old system, "location.system" would get it, but I don't know how to apply it now.

Also, is there a list of the old variables still kicking around somewhere?

Thank you!


____________

Halo_Jedi_Sig6a_zps7kfowbuj.png
Year 15 Day 364 7:22
Year 15 Day 364 7:30
Charlena Halo

Thank you!


____________

Halo_Jedi_Sig6a_zps7kfowbuj.png
Year 15 Day 364 16:56
Selatos


Actually Ruben did it, I believe :-)

This weekend's sync will include some additional information to help people figure things out though, in particular it'll have the ability to dump a table of all symbols, which you can then look through to find a function you need (e.g. system-name, in this case).

That said I'm not 100% convinced that the location functions work correctly yet, but I've just copied the logic from how they were implemented before as wildcards, so they should at least work/not work in the same way.


____________

"On two occasions I have been asked,—"Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
- Charles Babbage