![]() |
||||||||||||||
|
||||||||||||||
blade2k
» articles & tutorialsDouble Attack Accessory Tutorial
For this tutorial you will need one item, one common event for each character, one switch for each character, and one page of battle events for each character. Make an item and set its type to accessory. Lets pretend you are calling it [offering]. Don't do anything else with it unless you want it to raise or lower attack. Make a switch for each character in your game. Lets pretend you have a charcter named alex. Call the switch "Alex A2x ON." Lets pretend it is switch [0001] Now for the common events. Again, make one for each character in your game. I'll use Alex as an example. Call the event "Alex 2x Attack" and set the trigger to parallel process. All you need is one conditional branch with a custom handler if the condition is not met. Make the condition [Alex] has the [offering] equipped. In the main section of the branch, use switch operations to turn the switch [alex A2x On] on. Under the else handler, turn the same switch off. The scripting should look like this. Name Trigger Alex 2x Attack Parallel Process <>Branch: Alex Offering Equipped <>Switch Operation: [0001:Alex A2x ON] ON <> : Else Handler <>Switch Operation: [0001:Alex A2x ON] OFF <> : End <> Now go to monster groups and make a new page of battle events for each charcter in your game. Yet again, alex will be the example. Set the trigger to Switch [0001:Alex A2x ON] ON. The use the enable combo option and set the character to alex, the command to fight or attack (whatever you called it) and make the number of repetitions 2 (you can make it higher if you want). And thats it. The scripting should look like this: Trigger Switch [0001: Alex A2x On] <>Enable Combo: Alex Attack Repeats 2 Times <> Remember, whatever pages of battle events you make, must be copied into all monster groups. |
|
|||||||||||||
|
©2002-2008 blade2k.net - parsed in 0.002 seconds - view active users
[16401 members][newest member: magicalkittie]
Active Users (2)[ Xamusel_Uzumaki ] [ demonfire666 ]
|
||||||||||||||