[ASK] Spawning Building complete with the sold item by using GUI trigger ???

omniversal

New Member
any one know how to spawning building by using GUI trigger ???
I have Tried it and it succes spawn the building like arcane vault but the problem is the item that sold in that arcane vault didnt appear , so that unable someone to buying an item.

What i want asking is how to spawning the building especially a Arcane vault or other Shop Type building that contain the item that sold in the arcane vault or shop type building by using trigger so we can buy the item that contain in that shop ???
 

WolfieeifloW

WEHZ Helper
You probably have to spawn the building, then add the items that would normally be in it.

"Neutral Building - Add Item-Type (To Marketplace)"
Code:
Neutral Building - Add Tome of Experience to (Triggering unit) with 0 in stock and a max stock of 1
 

WolfieeifloW

WEHZ Helper
Next time, put your trigger in [pre]
Code:
[/pre] or [pre]
Trigger:
[/pre] tags.

As for the building.
If you're using "Map initialization" for your Event anyways, why not just have the unit already placed on the map?

If you're just using that for an example, here's how you'd do your actions:
Trigger:
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit - Create 1 Arcane Vault for Neutral Passive at (Center of (Playable map area)) facing Default building facing degrees
      • Neutral Building - Add Ankh of Reincarnation to (Last created unit) with 0 in stock and a max stock of 1

"Last created unit", not "Triggering unit".
 

omniversal

New Member
Next time, put your trigger in [pre]
Code:
[/pre] or [pre]
Trigger:
[/pre] tags.

As for the building.
If you're using "Map initialization" for your Event anyways, why not just have the unit already placed on the map?

If you're just using that for an example, here's how you'd do your actions:
Trigger:
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit - Create 1 Arcane Vault for Neutral Passive at (Center of (Playable map area)) facing Default building facing degrees
      • Neutral Building - Add Ankh of Reincarnation to (Last created unit) with 0 in stock and a max stock of 1

"Last created unit", not "Triggering unit".
I do like yours. But its failed because that trigger only spawn the building ( marketplace ) but not showing the item.

Trigger:
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit - Create 1 Arcane Sanctum for Neutral Passive at (Center of Region 002 <gen>) facing Default building facing degrees
      • Neutral Building - Add Ankh of Reincarnation to (Last created unit) with 0 in stock and a max stock of 1
 

WolfieeifloW

WEHZ Helper
If you're not using all 12 player slots, then just use 'Player 12' as your "Neutral" faction.
Go to "Scenario -> Player Properties... ->".
Put Player 12 (Brown) as a "Neutral" controller.
Then, under the 'Forces' tab, make all the players you want to be able to buy from the stores, 'Allied' with Player 12.

Then, simply use this:
Trigger:
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit - Create 1 Arcane Vault for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees

Although, this unit will now come with the default items in it.
If you want to make it different, go into the 'Object Editor', under the 'Units' tab.
Find the 'Arcane Vault' (CTRL+F can help) and rightclick it.
Make a "New Custom Unit...", and now edit this new custom vault to your liking.
I would give it a new name to avoid confusion, like "Arcane Store" or something.
To edit what items it has, edit the "Abilities - Normal" field under the new vault unit.
 

omniversal

New Member
If you're not using all 12 player slots, then just use 'Player 12' as your "Neutral" faction.
Go to "Scenario -> Player Properties... ->".
Put Player 12 (Brown) as a "Neutral" controller.
Then, under the 'Forces' tab, make all the players you want to be able to buy from the stores, 'Allied' with Player 12.

Then, simply use this:
Trigger:
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit - Create 1 Arcane Vault for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees

Although, this unit will now come with the default items in it.
If you want to make it different, go into the 'Object Editor', under the 'Units' tab.
Find the 'Arcane Vault' (CTRL+F can help) and rightclick it.
Make a "New Custom Unit...", and now edit this new custom vault to your liking.
I would give it a new name to avoid confusion, like "Arcane Store" or something.
To edit what items it has, edit the "Abilities - Normal" field under the new vault unit.
from what you suggest to me , Its seem successed. i was able to spawn the shop include the item, But how about if the player 1 - 12 are being used ??? Can i make it succesfully to able to spawn the shop include the item but not using Player from 1 or to 12 maybe ????
 

WolfieeifloW

WEHZ Helper
I'm not sure then.
Using any Neutrals seemed to make the shop unusable.

Although..
Try this:
Code:
Actions
    Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is playing)) and do (Actions)
        Loop - Actions
            Player - Make Neutral Passive treat (Picked player) as an Ally
 

omniversal

New Member
Player - Make Neutral Passive treat (Picked player) as an Ally << by the way how to make this part , especially "Neutral Passive" i find all the way but cant found the "Neutral passive" part.
 

WolfieeifloW

WEHZ Helper
Player - Set Alliance
Make Neutral Passive treat (Picked player) as an Ally

For Neutral Passive, look under the Preset: menu.
For (Picked player), look under the Function: menu.
For Ally, look under the only menu, Preset:.
 

omniversal

New Member
I'm not sure then.
Using any Neutrals seemed to make the shop unusable.

Although..
Try this:
Code:
Actions
    Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is playing)) and do (Actions)
        Loop - Actions
            Player - Make Neutral Passive treat (Picked player) as an Ally
That trigger is to make the neutral passive as an ally kan ?? so how to make a shop spawn in the region i want and include the item that sold inside the shop. Do we need to combine your trigger and this trigger ?
Trigger:
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit - Create 1 Arcane Vault for Neutral Passive at (Center of (Playable map area)) facing Default building facing degrees
??? i have tried it but its failed because there is no item that sold in that shop !!
 

WolfieeifloW

WEHZ Helper
Why does the item need to be added via triggers?
WolfieeifloW said:
Although, this unit will now come with the default items in it.
If you want to make it different, go into the 'Object Editor', under the 'Units' tab.
Find the 'Arcane Vault' (CTRL+F can help) and rightclick it.
Make a "New Custom Unit...", and now edit this new custom vault to your liking.
I would give it a new name to avoid confusion, like "Arcane Store" or something.
To edit what items it has, edit the "Abilities - Normal" field under the new vault unit.
 

omniversal

New Member
Why does the item need to be added via triggers?
no..no.. thats not what i mean.
I mean this trigger

Code:
Actions
    Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is playing)) and do (Actions)
        Loop - Actions
            Player - Make Neutral Passive treat (Picked player) as an Ally
[/QUOTE]

it just to make a neutral building you that i summon to become our ally but not spawn a building , right ???.
so what i need to do to spawn a building in the region i want ?? should i used a trigger to spawn building ? i have tried including add the the trigger you give me in a new trigger category ( trigger that you give me and trigger to spawn building is separated) but its failed because it only spawn the building that doesnt contain any item.
Or maybe i wrong in triggering ?
 

WolfieeifloW

WEHZ Helper
Place it manually in the map, and manually edit items in the Object Editor.
No need for triggers except to ally the players with Neutral Passive.
 

WolfieeifloW

WEHZ Helper
...

In the editor, place the unit, manually, yourself, with your mouse.
On your map, wherever you want it.
Then, in Object Editor, manually, yourself, with your mouse:
Add the items into the custom shop in the Object Editor.

The only trigger you need, is to make the players treat the shop as an ally.
 

omniversal

New Member
...

In the editor, place the unit, manually, yourself, with your mouse.
On your map, wherever you want it.
Then, in Object Editor, manually, yourself, with your mouse:
Add the items into the custom shop in the Object Editor.

The only trigger you need, is to make the players treat the shop as an ally.
you mean the trigger i need to use is the trigger that make the shop as an ally that you give me ???
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    oh shit Hatebreeder is on the site
  • Ghan Ghan:
    Site Log, 1/7/22: TH changed his avatar today. Speculation among the crew is that this heralds the end times are upon us. Only time will tell.
    +1
  • jonas jonas:
    TH changed profile pictures before no hasty conclusions
  • jonas jonas:
    didn't he used to have just TH in blue letters or something like that?
  • The Helper The Helper:
    I have had a number of different profile pics in the past - I just changed it to the NUON award pic because there is stuff going on with NUON right now hint hint
  • The Helper The Helper:
    plus I just added an Atari Jaguar forum lol maybe Ghan is right about the end times lol
  • The Helper The Helper:
    If I can get this NUON stuff going that is going to be good
  • The Helper The Helper:
    on a side note and totally out of nowhere I am buying a bass guitar and am going to try and learn it
    +1
  • The Helper The Helper:
    I am about to go to a friends house and dig his Atari Jaguar collection out of the attic and get it ready to sell
  • The Helper The Helper:
    and my friend is such a slacker he could only put his hands on the base jag and cd unit no wires, power supply or games they are still buried somewhere in the attic for another time.
  • The Helper The Helper:
    250 Members online and most of them looking at American Airlines below economy class post that I bumped the other day LOL
  • The Helper The Helper:
    actually 249 guest not members
  • Varine Varine:
    Is there even 250 members that have logged in in the last couple years? I feel like there's maybe 30 of us
  • The Helper The Helper:
    I am not tracking that stat but I would have to say probably not
  • tom_mai78101 tom_mai78101:
    Would like to get some annual forum statistics report.
  • The Helper The Helper:
    there are stats in the xenforo forum admin section and we have matomo stats we started collecting beginning of the year so we will not have annual on that until next year
  • The Helper The Helper:
    I thought you had keys to the bathroom Tom? Ghan does Tom have access to the stats thread in the bathroom
  • The Helper The Helper:
    since I started jacking with the bots on the site we doubled our page views on the site in a week lol
  • The Helper The Helper:
    I have been having lots of fun
  • The Helper The Helper:
    we have had like 6000 views of the American Airlines economy class thread in the last week
  • The Helper The Helper:
    I ought to stick a travel affiliate link or something on that page to try and monetize that they are just going there and leaving it might even be bots I am not sure
  • The Helper The Helper:
    I just got into it with the Atari VCS Facebook Moderator I started trolling him and almost got banned
  • The Helper The Helper:
    They deleted one of my posts one time so I was trolling him on a help post I put up because I am evil I guess and bored and the guy handled it well I loved his attitude Atari has a good social media presence even if they do not have many games.
  • The Helper The Helper:
    The French Atari they call them even though they are like totally based in America they just have French Money coming in. Gotta love it

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top