TSS scripting is missing a few odds and ends in what can be easily done with scripting, but monkeying with _MyScript commands can permit a few more things to be done. This is after skell's
RPG guide, which largely seems to hold for TSS as well but needs some extra numbers identified. If none of this even begins to make any sense to you, Xindaris goes into more detail
here.
Specifically, _MyScript can be used to build and detect some stuff that isn't explicitly listed in the options for the relevant commands. In all cases, reset changed variables back to -9999 ASAP or scripts tend to stop working.
Use _MyScriptH in generate entity, _MyScriptF in wait for entity type
0: Roach
1: Roach queen
2: Roach egg
3: Goblin
4: Nothing. Formerly neather?
5: Wraithwing
6: Evil Eye
7: Serpent
8: Tar mother
9: Tarspawn
10: Brain
11: Mimic
12: Spider
13: Adder
14: Rattlesnake
15: Golem
16: Waterskipper
17: Waterskipper Nest
18: Aumtlich
19: Clone
20: Decoy
21: Wubba
22: Seep
23: Stalwart
24: Young Halph
25: 39th
26: Fegundo
27: Fegundo ashes (can't generate entity)
28: Guard
29: NPC
30: Mud mother
31: Mud baby
32: Gel mother
33: Gel baby
34: Citizen
35: Rock giant
36: Halph
37: Slayer
38: Soldier
39: Engineer
40: Construct
41: Gentryii (including chain); can't generate entity
42: Temporal projection
43: Fluff
Use _MyScriptF in Build or Wait for Item At
0:
1: Floor
2: Pit
3: Stairs
4: Wall
5: Broken wall
6: Blue door
7: Green
8: Red
9: Yellow
10: Yellow open
11: Trapdoor
21: Invis
22: Mimic
23: Scroll
24: Orb
35: Tar
36: Checkpoint
37: Black
38: Speed
39: Briar root
40: Withered briar
41: Briar growth
43: Bomb
44: Fuse
47: Tunnel north
48: Tunnel south
49: Mirror
50: Clone
51: Decoy
52: Water platform
53: Platform (but appears as pit, and may make DROD unstable?)
54: Floor mosaic
55: Road
56: Grass
57: Dirt
58: Alternate floor
59: Master wall
60: Mud
61: Stairs up
62: Secret wall
63: Tunnel east
64: Tunnel west
65: Image floor
66: Hard wall
67: Water
68: Open green
69: Open blue
70: Open red
71: Open black
72: Trapdoor over water
73: Oremites
74: Light
75: Hot tile
76: Gel
77: Relay station
78: Multiuse pressure plate
79: Bridge
80: Horizontal bridge
81: Vertical bridge
82: Image pit
83: Image wall
86: Shallow water
87: Squad horn
88: Soldier horn
89: Stepping stone
90: Seeding beacon
91: Seeding beacon off
92: Powder keg
93: Floor spikes
103: Fluff
104: Fluff vent
105: Thin ice
106: Thin ice over shallows
107: Fire trap
108: Active fire trap
109: Hold complete wall
157: Start of unregistered stuff?
Negative values are used for tokens:
-4: Rotate CW
-5: Rotate CCW
-6: Switch tar/mud
-7: Switch tar/gel
-8: Switch mud/gel
-9: Vision
-10: Power
-11: Disarm
-12: Persistence
-13: Conquer
-14: Sword
-15: Pickaxe
-16: Spear
-17: Staff
-18: Dagger
-19: Caber
-20: Temporal
____________________________
Click here to view the secret text
[Last edited by mrimer at 11-16-2024 08:55 PM]