Output Event - castRelay
1 KB, 14 years ago, submitted by
castRelay Event
Information:
Casts a relay (like the fireRelay* events on bricks) to bricks from the player to where the player is looking and triggers the input event onRelay. The text box is the range (in studs/bricks).
Credits:
Everyone who supports me.
IT works the same way the firerelay output event does.
Example:
You have two bricks, one on top of the other.
Bottom brick:
onactivate > self > firerelayup
Top brick:
onrelay > self > setlight > player's light
That's how a basic relay event combo works. With castrelay, the player becomes the bottom brick, like this:
Bottom brick:
onactivate > player > castrelay > (number)
This makes it so that when a player activates the bottom brick, they fire a relay in the direction they are facing. If they are
Everyone who supports me.*
That means i'm a supporter!
XD
In order to activate a brick you need to look at it. You need to use things like onPlayerTouch for this ev
OnPlayerTouch>CastRelay> (number)
On player youch> spawnProjectile>(number| E,W | N,S | U,D| ect.
now stop the dumb fighting -.-
ill download once you make one for activate...
ok?