Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Pac-Man V1.0.w3x
Variables
project PACMAN
Ghost Spawn
Mr Pacman Spawn
Mrs Pacman Spawn
---------------------------
Power Fruit Ability
---------------------------
When every Fruit has eaten
Pacmans died
---------------------------
Points
Fruit Remaining
Fruits Eaten
---------------------------
Read Me
Forward
Left
Right
Backward
---------------------------
How to do
---------------------------
Mr Pacman Lives
Mrs Pacman Lives
Ghost always Live
---------------------------
Teleport Left
Teleport Right
---------------------------
Visionize
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Fruits_remaining
integer
Yes
Ghost Spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to User
Then - Actions
Unit - Create 1 . Blinky for Player 1 (Red) at (Center of Ghost <gen>) facing Default building facing degrees
Unit - Create 1 . Inky for Player 2 (Blue) at (Center of Ghost <gen>) facing Default building facing degrees
Unit - Create 1 . Pinky for Player 3 (Teal) at (Center of Ghost <gen>) facing Default building facing degrees
Unit - Create 1 . Clyde for Player 4 (Purple) at (Center of Ghost <gen>) facing Default building facing degrees
Else - Actions
Do nothing
Mr Pacman Spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
(Player 5 (Yellow) controller) Equal to User
Actions
Unit - Create 1 . Mr. Pacman for Player 5 (Yellow) at (Center of Mr_Pacman <gen>) facing Default building facing degrees
Mrs Pacman Spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
(Player 6 (Orange) controller) Equal to User
Actions
Unit - Create 1 . Mrs. Pacman for Player 6 (Orange) at (Center of Mrs_Pacman <gen>) facing Default building facing degrees
---TESTING---
Power Fruit Ability
Events
Unit - A unit owned by Player 7 (Green) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Power Fruit
Actions
Unit - Make (Killing unit) Invulnerable
Unit - Add Ghost Hunter to (Killing unit)
Unit - Set (Killing unit) movement speed to 230.00
Wait 20.00 seconds
Unit - Make (Killing unit) Vulnerable
Unit - Remove Ghost Hunter from (Killing unit)
Unit - Set (Killing unit) movement speed to 200.00
When every Fruit has eaten
Events
Unit - A unit owned by Player 7 (Green) . Dies
Conditions
(Count structures controlled by Player 7 (Green) (Exclude incomplete structures)) Equal to 0
Actions
Player Group - Pick every player in (All allies of Player 5 (Yellow).) and do (Actions)
Loop - Actions
Game - Display to (All allies of Player 5 (Yellow).) for 30 seconds the text: You Have Acquired Invicibilty!
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Pacmans are Invincible!
Pacmans died
Events
Unit - A unit Dies
Conditions
(Number of units in (Units owned by Player 5 (Yellow).)) Equal to 0
(Number of units in (Units owned by Player 6 (Orange).)) Equal to 0
Actions
Game - Defeat (Owner of (Dying unit)) with the message: Ghost Has Succesfully Conquered Pacmans!
Game - Victory (Owner of (Killing unit)) ( Show dialogs, Show scores)
Points
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled -------Fruits Remaining--------
Leaderboard - Show (Last created leaderboard)
Fruit Remaining
Events
Time - Elapsed game time is 1.00 seconds
Conditions
(Player 7 (Green) controller) Equal to Computer
Actions
Leaderboard - Add Player 7 (Green) to (Last created leaderboard) with label Remaining Fruits and value (Count structures controlled by Player 7 (Green) (Exclude incomplete structures))
Fruits Eaten
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
Actions
Set Variable Set Fruits_remaining[(Count structures controlled by Player 7 (Green) (Exclude incomplete structures))] = ((Count structures controlled by Player 7 (Green) (Exclude incomplete structures)) - 1)
Leaderboard - Change the value for Player 7 (Green) in (Last created leaderboard) to Fruits_remaining[(Count structures controlled by Player 7 (Green) (Exclude incomplete structures))]
THIS TRIGGER HAS NO USED IT IS JUST
A MESSAGE THAT THE ARROW KEYS
ARE STILL IN WORKING PROGRESS
Read Me
Events
Conditions
Actions
Forward
Events
Player - Player 5 (Yellow) Presses the Up Arrow key
Conditions
Actions
Left
Events
Player - Player 5 (Yellow) Presses the Left Arrow key
Conditions
Actions
Right
Events
Player - Player 5 (Yellow) Presses the Right Arrow key
Conditions
Actions
Backward
Events
Player - Player 5 (Yellow) Presses the Down Arrow key
Conditions
Actions
How to do
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Game - Display to (All allies of Player 1 (Red).) for 30 seconds the text: How to Win:Kill The PacmansBefore They Eat all the Fruit
Wait 5.00 seconds
Game - Display to (All allies of Player 5 (Yellow).) for 30 seconds the text: How to Win:Eat All the Golden FruitDon't Let the Ghost Get you
Wait 5.00 seconds
Game - Display to (All players) for 30 seconds the text: Lives:Ghost = Unlimited>wait 5 seconds after revival to be fair with the pacmansPacmans = 2 Lives>when pacman dies it will only have its last life
Wait 5.00 seconds
Game - Display to (All players) for 30 seconds the text: ____________________________________________________Power FruitInfo:Gives you Invulnerability for 20 SecondsHas also an Ability to Kill Ghost
Wait 10.00 seconds
Game - Display to (All players) for 30 seconds the text: Help:Hotkey for Hunting Fruits is VHotkey for Hunting Ghost is Cpress this hotkeys when it is not used(Because i can't Fix that)
Wait 15.00 seconds
Game - Display to (All players) for 30 seconds the text: -----TESTING-----Version 1.0 BETA-----OWNER------Imba_Cross
Mr Pacman Lives
Events
Unit - A unit owned by Player 5 (Yellow) . Dies
Conditions
Actions
Unit - Create 1 . (Unit-type of (Dying unit)) for Player 5 (Yellow) at (Center of Mr_Pacman <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
Mrs Pacman Lives
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Conditions
Actions
Unit - Create 1 . (Unit-type of (Dying unit)) for Player 6 (Orange) at (Center of Mrs_Pacman <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
Ghost always Live
Events
Unit - A unit Dies
Conditions
((Dying unit) belongs to an ally of Player 1 (Red).) Equal to True
Actions
Unit - Create 1 . (Unit-type of (Dying unit)) for (Owner of (Dying unit)) at (Center of Ghost <gen>) facing Default building facing degrees
Unit - Set (Dying unit) movement speed to 0.00
Wait 5.00 seconds
Unit - Set (Dying unit) movement speed to 200.00
Teleport Left
Events
Unit - A unit enters Left <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Right_Stop <gen>)
Camera - Pan camera for (Owner of (Entering unit)) to (Position of (Entering unit)) over 0 seconds
Teleport Right
Events
Unit - A unit enters Right <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Left_Stop <gen>)
Camera - Pan camera for (Owner of (Entering unit)) to (Position of (Entering unit)) over 0 seconds
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.