Im making a racing game for warcraft. (sounds funny lol)
Theres sapost to be a Sell car trigger but when you don't click me a car its not yours in the computers untill the race. How can i make a trigger that sells the car even though its not yours.
I have attached the map in GUI script and Custom Script below.
I need help...
Moderator: Cheaters
-
- Forum Fanatic
- Posts: 315
- Joined: October 16th, 2007, 7:32 pm
-
- Forum Staff
- Posts: 2618
- Joined: June 2nd, 2007, 6:53 pm
- Title: I Just Lost the Game
Re: I need help...
Make it yours anyway until the race starts, BUT lock the controls of it.
Or, make a trigger so that when you enter a circle thing, portal or whatever, it disables the trigger that was activated when you paid for the car for the race, and gives you however much gold.
Or, don't give them the option to sell it.
----------------
Now playing: Guns N' Roses - Rocket Queen
via FoxyTunes
Or, make a trigger so that when you enter a circle thing, portal or whatever, it disables the trigger that was activated when you paid for the car for the race, and gives you however much gold.
Or, don't give them the option to sell it.
----------------
Now playing: Guns N' Roses - Rocket Queen
via FoxyTunes
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
-
- Member
- Posts: 77
- Joined: May 27th, 2008, 9:08 pm
Re: I need help...
you already have the cars as individual variables and there is a max of 1 car for each player, so just add a skill to a unit or a unit u don't click me that costs nothing and do a trigger
unit finishes casting a spell
action spell = sell car
event - remove car [player number of owner of unit [triggering unit]]
add value of car [player number of owner of unit [triggering unit]] to owner of triggering unit's current gold
set variable = no unit.
or
unit sells a unit
sold unit = sell car
same event
unit finishes casting a spell
action spell = sell car
event - remove car [player number of owner of unit [triggering unit]]
add value of car [player number of owner of unit [triggering unit]] to owner of triggering unit's current gold
set variable = no unit.
or
unit sells a unit
sold unit = sell car
same event