Staredit Network

Staredit Network -> UMS Assistance -> secrets
Report, edit, etc...Posted by lukeskywalker on 2006-07-28 at 16:47:56
cry.gif cry.gif im kinda new at map making and want to know how do i make a trigger in a minitown defence game, that if a player steps in a certain spot that a plyer get lets say 999999999 minirals.............plx explain how to do it and if u can make the trigger so i can copy and paste it ........i use star forge helpsmilie.gif helpsmilie.gif helpsmilie.gif helpsmilie.gif
Report, edit, etc...Posted by Falkoner on 2006-07-28 at 16:58:42
Starforge triggers are kinda tricky, I'd dl SCMDraft2 If I were you and do the triggers using its classic trigger editor, in classic trigger editor it should go like this:

Trigger
Description:
...
Players:
¤ P1
Conditions:
¤ If Player 1 brings 1 men to (location)
Actions:
¤ Set player 1's minerals to 99999


Then you just make a location and put it where you want them to have to go and stick that location in the (location) spot. And you just remake that same trigger for all the players you want it to effect switching out the p1 for p2 or p3 etc.
Report, edit, etc...Posted by lukeskywalker on 2006-07-28 at 17:45:55
wow dang im amzed soooooo fast responce not even a halfhour like 15 mins wow thax. smile.gif smile.gif smile.gif

ADDITION:
wtf when ever i set the trigger and open it its all blank wtf!!!??? ranting.gif ranting.gif ranting.gif mad.gif mad.gif mad.gif
Report, edit, etc...Posted by dumbducky on 2006-07-28 at 22:11:20
Use All players as the players, and use Current Player in the conditions.
Report, edit, etc...Posted by DT_Battlekruser on 2006-07-29 at 14:02:06
-Does the trigger have player checked for it?
-Is it commented? (Action: Comment("Trigger Comment"); )
-Do your lines end with semicolons?
Report, edit, etc...Posted by Syn_Adam on 2006-07-30 at 16:06:20
I'd make the triggers differently, but for the most part thats fairly good.

Instead of setting the minerals up, I think what you want is Add (amount) Minerals. This would of course be under the assumption he never steps there again, as hed get the same amount every time he stepped there, unless you didnt preserve the trigger.

Never played the map, so I'm unsure on what exactly is involved with it, but thats how I would assume it would be wanted as.

And whenever you make a trigger, as an action add a new one named Comment, and type in a comment for it. All this does is labels the trigger for you, which can only help you.

Also, you do have to check box the people you want the trigger to work for.

Hope this helps, I realize some of it might not, but it cant hurt to learn, if you didnt know already.
Next Page (1)