(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > Triggers & Scripts

Triggers & Scripts Discussions regarding GUI triggers & JASS/AI scripts may be found here. Please review the » JASS Tutorials » Trigger Tutorials

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-23-2004, 11:10 AM   #1 (permalink)

User
 
Join Date: Oct 2004
Posts: 2

rasmulde is an unknown quantity at this point (0)


Different multiboards for each player

I got this little problem...
i want to make a multi board (mb) for each player.
that sounds easily but the mb needs to be different for each player. i thought about local but nothing seems to work. when i starts the trigger with player 1 i gets a mb and it looks like working, but then i with player 2 to starts his mb and it overwrites the first one and both players have player 2s multiboard.
can JAZZ fix it or is it just impossibel.

can someone please help me the trigger looks like this.

Player 1 Red

event
unit finishes construction
Condition
Constructed structure equal to city
owner of triggering unit equal to 1 red
Actions
Create mb 5 col 2 rows titled your people
set nazimultiboard(1) to last created multiboard
Hide last created mb
Custom Script set udg_Temp_Player = GetLocalPlayer()
If Then Else
Condition
Temp_Player = 1 red
Then
MB Show NaziMultiboard(1)
Else
Nothing

Player 2 Blue

event
unit finishes construction
Condition
Constructed structure equal to city
owner of triggering unit equal to 2 blue
Actions
Create mb 5 col 2 rows titled your people
set nazimultiboard(2) to last created multiboard
Hide last created mb
Custom Script set udg_Temp_Player = GetLocalPlayer()
If Then Else
Condition
Temp_Player = 2 blue
Then
MB Show NaziMultiboard(2)
Else
Nothing

I Cant understanf why it owerwrites but again im am new at Custom Script and local variabels. Please help.
rasmulde is offline  
Old 11-08-2004, 09:05 PM   #2 (permalink)
 
redscull's Avatar

User
 
Join Date: Feb 2004
Posts: 32

redscull has little to show at this moment (1)


Your code looks good. If that isn't working, it might not be possible to have different multiboards for each player.
__________________
SWAT: Aftermath - Cooperative Carnage
http://www.hiveworkshop.com/resources_new/maps/5636/
redscull is offline  
Old 11-08-2004, 09:16 PM   #3 (permalink)
Registered User ctb

User
 
Join Date: Jul 2004
Posts: 95

ctb has little to show at this moment (2)


I guess the problem is that the Multiboards has to be shown at the EXACTLY same time to the local players.
ctb is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[JASS] Multiboards for different players bloodybrains Triggers & Scripts 1 09-27-2007 05:31 AM
Multi Multiboards? bloodybrains World Editor Help Zone 1 08-19-2007 08:35 AM
[JASS] MULTIBOARDS for me and not you rodsazo Triggers & Scripts 12 08-24-2006 05:25 PM
Multiboards Bob27 Trigger (GUI) Editor Tutorials 0 04-11-2006 12:41 PM
Triggering On Multiboards.... Azsharas.Bane Map Development 0 11-14-2004 03:42 PM

All times are GMT. The time now is 01:07 PM.






Your link here 
Futurama Episodes | Buy WoW Gold | Debt Consolidation | Loans | Fast Loans
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle