Related Discussions and Projects:
Related Suggested Features:
Right now gravity modules work only if triggered by the first activation block either pressed directly or activated through area triggers.
I guess it is because other logic blocks (and even the second logic block) do not forward which user activated the logic.
@schema: please implement:
link buttons (activator blocks) to a "logic user reference" block (LUR). This block then allows user-dependent actions.
LURs forward their reference to other linked LURs when-ever they change their own reference (not when they change -for example- from active user 215 to 215).
Linked to any other logic block, a LUR should return true if the user's name, his faction's name or his rank is listed in a nearby display block and false if it is not.
If gravity blocks are next to LURs, they affect all users referenced by these LURs.
[INDENT]button -> LUR
button -> and
some flip-flop logic -> and
and -> gravity (nearby LUR)
// only activate gravity if -for example- step ons didn't trigger recently.
// only change gravity on destination floor (gravity lifts)[/INDENT]
- http://starmadedock.net/threads/pro...ter-updated-with-ram-module-todo-upload.2920/
- http://starmadedock.net/threads/rp-what-if-we-would-have-security-and-crew-fully-customizable.2953/
Related Suggested Features:
- http://starmadedock.net/threads/new-block-logic-user-reference.2404/#post-35427
- http://starmadedock.net/threads/improvements-to-display-block-variables.2807/
Right now gravity modules work only if triggered by the first activation block either pressed directly or activated through area triggers.
I guess it is because other logic blocks (and even the second logic block) do not forward which user activated the logic.
@schema: please implement:
link buttons (activator blocks) to a "logic user reference" block (LUR). This block then allows user-dependent actions.
LURs forward their reference to other linked LURs when-ever they change their own reference (not when they change -for example- from active user 215 to 215).
(( Mabye a line-shaped array of LURs should store each active user ID only once. ))
Linked to any other logic block, a LUR should return true if the user's name, his faction's name or his rank is listed in a nearby display block and false if it is not.
[faction=name] [rank=01234|name]
If gravity blocks are next to LURs, they affect all users referenced by these LURs.
[INDENT]button -> LUR
button -> and
some flip-flop logic -> and
and -> gravity (nearby LUR)
// only activate gravity if -for example- step ons didn't trigger recently.
// only change gravity on destination floor (gravity lifts)[/INDENT]
Last edited: