Nuntar wrote:
If you want to change the player's weapon with special command, the easiest way to do this is Set player weapon.
I did see that command and I'm using it.
Nuntar wrote:
2. Not at the moment. You can activate/deactivate wall lights with "Activate item at". 5.2 will allow scripts to control the overall room lighting.
Ah, shame.
Nuntar wrote:
1. Yes, you need to use a build command with _MyScriptF set to a certain value. The values for each token are at the end of this long post. As with all _MyScript variables, set it back to -9999 after use.
Hm, sounds good and it does work, but only provided there isn't a weapon token on the tile already.
So I guess I should have asked whether I can
override a weapon token with the build command.
Or perhaps build something on the tile to "
erase"
the previous weapon token in there, maybe like so (this is the version for pickaxe token build):
Set var "_MyScriptF" = ?????????
Build Alternate floor,15,17,15,17
Set var "_MyScriptF" = -15
Build Alternate floor,15,17,15,17
Set player weapon Pickaxe
Set var "_MyScriptF" = -9999