Building & Scripting > Scripting Board

Code related error perhaps?

<< < (3/3)

Mordecai:
It seems to work fine for me with that script I just posted, i just tested it.

Fizban:
It seemed as best I can tell to be related to somehow on 4D this works:

if %inroom.north% && %inroom.north(vnum)% != %from_room%


but this doesn't:

if %nroom.north(vnum)% && %nroom.north(vnum)% != %sroom%

or when those variables get put back to what they really are for readability:

if %self.room.north% && %self.room.north(vnum)% != %self.room.vnum% (old vnum before moving)

works and

if %self.room.north(vnum)% && %self.room.north(vnum)% != %self.room.vnum% (old vnum before moving)

which would make me thinbk that %self.room.north(vnum)% doesn't work, except both if checks use it, mine just used it twice instead of once.

Navigation

[0] Message Index

[*] Previous page

Go to full version