12-31-2023, 09:06 AM (This post was last modified: 11-03-2024, 12:42 AM by kyonides.
Edit Reason: Updated Script Call
)
RandomReward XP
by Kyonides
Introduction
Just as the script's name clearly implies, it allows you to set some sort of reward lotto into motion by using a single script call.
After it has granted the reward to the player, you can press the OK or Cancel button to return to the map. It could also close itself if no input is given.
How Does it Work?
You just need a simple script call to open the Reward scene.
2. The reward system itself can be rigged from the very beginning!
Here is an example of a rigged system:
Code:
now_reward(1, [:w, 8, 1], [g:, 470], [:i, 12, 1])
In the example above you can see how the player will always get the gold reward in position 1 aka the second reward.
Side Note:
I had to develop this rigged game feature while developing my short game Just Another Crisis: The Shutdown. Curiously, the one getting that reward was the RTP character Ghost aka Ghost-o in my game.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
I was in need of fixing a bug in the VX ACE port that had been reported by some forumer concerning the call of an instance method from a class method aka singleton method. Since that is not supposed to ever work, I moved the call to the main method and now it runs smoothly.
Feel free to download the demo again!
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.