I copy pasted my Eventcode as Text and posted it into the Forums. It's not possible the other way around.
So you need to rebuild it with Event Commands.
After you rebuild the Code with Eventcommands, than you can just copy paste the whole Event a few times to get 3 Boulders.
But than you need to change:
◆If:Variable 4 =
28 <--- This, the number 28!!! Nothing else. If this Boulder is Event 003 it needs to be 3, if this is Event ID48 with the Name Hans, it needs to be changed to 48.
The Variable Ids are always the same. The name is not important. i just named it variable4 because iam using variable id4, i thought you would be confused if its called "Rick and Morty" you would not know that Rick and Morty is ID4. So its somehow funny that you still ended up confused =), but all is ok.
If you have more Questions or need further help to adjust it to your needs, let us know.
Iam sure there is plenty of fine tuning and pimping needed later on. But first lets get the bare Bones.
Edit:
Switches and Variables store Values like a storage Box. Variables standard value is 0 and it can be any number, Switch standard value is Off, it can only store off and on in other words 0 and 1.
Conditional Branches are used to compare Values to get a true or false result. 1 is equal to 3, that is false.
Edit2:
Iam not sure what to explain, so i add some info text to the code:
Code:
◆Get Location Info:Variable 4, Event ID, (5,7) <--This checks which Event id is on position x = 5 and y = 7 and stores the number in variable 4
◆If:Variable 4 = 28 <---We check if Variable4 is equal to the Event Id of this Event, in my case "event id 28"
◆If:Player is facing Down <--- if previous condition is true, we want to know if player is facing down
◆If:Variable 24 = 2 <-- 2Boulders are allready in the Water
◆Set Movement Route:This Event (Skip)
: :◇Through ON
: :◇Turn away from Player
: :◇1 Step Forward
: :◇1 Step Forward
: :◇1 Step Forward
: :◇Through OFF
◆
:End
◆If:Variable 24 = 1 <-- 1Boulder is allready in the Water
◆Control Variables:#0024 Variable 24 += 1 <--- One Boulder got added to the Water
◆Set Movement Route:This Event (Skip)
: :◇Through ON
: :◇Turn away from Player
: :◇1 Step Forward
: :◇1 Step Forward
: :◇Through OFF
◆
:End
◆If:Variable 24 = 0 <-- No Boulders are in the Water
◆Control Variables:#0024 Variable 24 += 1 1 <--- One Boulder got added to the Water
◆Set Movement Route:This Event (Skip)
: :◇Through ON
: :◇Turn away from Player
: :◇1 Step Forward
: :◇Through OFF
◆
:End
◆Wait:4 frames
◆Set Movement Route:Player (Skip, Wait)
: :◇1 Step Forward
◆Wait:60 frames
◆Control Self Switch:A = ON
◆Exit Event Processing
◆
:End
◆
:End
◆Set Movement Route:This Event (Skip) <---If one of the first 2 conditions was not true, this code runs, its the normal push boulder code to move the Event on the Map.
: :◇Turn away from Player
: :◇1 Step Forward
◆Wait:4 frames
◆Set Movement Route:Player (Skip, Wait)
: :◇1 Step Forward
Sorry for so much Text. Now i just reworked it, so no adjustments are needed, its plane copy paste after you rebuild it with event commands.
Code:
◆Get Location Info:Variable 4, Event ID, (5,7)
◆Control Variables:#0025 Variable 25 = this._eventId
◆If:Variable 4 = Variable 25
◆If:Player is facing Down
◆If:Variable 24 = 2
◆Set Movement Route:This Event (Skip)
: :◇Through ON
: :◇Turn away from Player
: :◇1 Step Forward
: :◇1 Step Forward
: :◇1 Step Forward
: :◇Through OFF
◆Wait:2 frames
◆Set Movement Route:Player (Skip, Wait)
: :◇1 Step Forward
: :◇1 Step Forward
: :◇1 Step Forward
◆
:End
◆If:Variable 24 = 1
◆Set Movement Route:This Event (Skip)
: :◇Through ON
: :◇Turn away from Player
: :◇1 Step Forward
: :◇1 Step Forward
: :◇Through OFF
◆Wait:2 frames
◆Set Movement Route:Player (Skip, Wait)
: :◇1 Step Forward
: :◇1 Step Forward
◆
:End
◆If:Variable 24 = 0
◆Set Movement Route:This Event (Skip)
: :◇Through ON
: :◇Turn away from Player
: :◇1 Step Forward
: :◇Through OFF
◆Wait:2 frames
◆Set Movement Route:Player (Skip, Wait)
: :◇1 Step Forward
◆
:End
◆Control Variables:#0024 Variable 24 += 1
◆Control Self Switch:A = ON
◆Exit Event Processing
◆
:End
◆
:End
◆Set Movement Route:This Event (Skip)
: :◇Turn away from Player
: :◇1 Step Forward
◆Wait:2 frames
◆Set Movement Route:Player (Skip, Wait)
: :◇1 Step Forward
I fixed that it also works after mapchanges.
But the Second Eventpage of this Event now has no graphic and its on through.
Its like the boulder is hidden from the game forever after it moved onto the river.
But on the river we add 3 events with each 2 eventpages. Everytime a Boulder moved into the River we will activate 1.
1st page is empty no image and "through" ON, marked on the eventpage.
2nd page got the boulder tilesetgraphic as image and is on below characters. PAge Condition is Variable 24 = 1 or more. the second Event on the river got PAge Condition is Variable 24 = 2 or more...and so on...
I know this isnt a tutorial and it is much tech chinese, i hope it still helps somehow. Just ask with what you have trouble.