Blockland Forums > Suggestions & Requests
I need an event made! plz help me someone!!!
<< < (3/5) > >>
wizzlemanizzle:
.blb?
GenaralSkar:
Why ask that if you know he has no idea what you are talking about?
Freeze:
Let me think if I have this right...


You want a wand that can make build macros?
Deathwishez:
Deciphering Time!


--- Quote from: wizzlemanizzle on April 18, 2010, 05:34:22 PM ---oOkay, iI need an event that is similar to using a buildmacro, but can use a copy formlike the dupicator aswell.

heres what the pParameters: must be -
 
1.can require up to a maximum of 4 events to accomplish the task
2.cant be player specific(if possible)
3.needs to be able to spontaneously build a selection other bricks in a given space(like using a buildmacro or duplicator tool)
4.should be relative the the brick being evented with default buildspace being the center of the top of the brick(or just make that the only place it will build it)
5.if at all possible make it be able to be affected by the cashmods(not at all required just something to make my life easier)


* Can not be player/client specific
* Works with the cash mod
(Blah blah blah. We don't give a stuff.)The task at hand for me is the reason i need this event - im making a tower defence game, in blockland; and i need a way to have any of the players build the towers i have already made without needing to use duplicate tool on them (because its a time waster to move them and its also something that requires trust and i need to not have to give that to everyone {i am afraid of noobs abusing it} also , i can try to deal with the money thing myself i would just perfer not to have to[condition 5])
so if anyone can help me out here it would be much obliged and an example of to best way for it to work would be  if it could be set like this - On(insert whatever here)/self(or named brick)/Buildmacro(or model or whatever)/[(numbers from 1 - 10)](or the last one  could be ducked and instead have the buildmacro event be followed by numbers 1 - 10 instead of having you type the number in the output box)

--- End quote ---

How to go about it:


--- Code: ---[X] 0 [0] onContentCreated > Self > checkTower
[X] 1 [0] onActivate > Self > checkTower
--- End code ---

When "checkTower" is called, the client will get a chat message that looks like this:

=========================
Actions
=========================
1 - Build Tower
2 - Destroy Tower
3 - Upgrade Tower
4 - Move Tower
5 - None
=========================

Action 1: Build Tower

=========================
Build Tower
=========================
1 - (Name) | (Cost)
2 - (Name) | (Cost)
3 - (Name) | (Cost)
4 - (Name) | (Cost)
5 - None
=========================

Action 2: Destroy Tower

Destroys the tower

Action 3: Upgrade Tower

=========================
Upgrade Tower
=========================
1 - (Upgrade Type) | (Cost)
2 - (Upgrade Type) | (Cost)
3 - (Upgrade Type) | (Cost)
4 - (Upgrade Type) | (Cost)
5 - None
=========================

Action 4: Move Tower

Script copies the tower, and spawns a ghost brick that will take the base of the new tower.
When the brick is place, the old tower is then destroyed. (Just kill the plate that you had to click, and the whole tower will get destroyed)

Will all of this stuff solve your problem?
boodals 2:
Unless your having a stupidly impossible Tower Defence, i recommend that you use Variables instead of Cash Mod and Disappear > "0" instead of this whole Macro thing. Trust me, in the end its alot easier.
Also, i recommend you get alot of experience before you make one of these. I haven't tried it, but i can imagine the events, and they ain't pretty!
Navigation
Message Index
Next page
Previous page

Go to full version