|
Thread: Map Scripting | This thread is pages long: 1 2 3 · «PREV |
|
mike80d
Famous Hero
Map Maker
|
posted December 29, 2010 02:42 PM |
|
|
I have a quick scripting question that I'm stuck on.. I'm really hoping someone here can help:
Hero_Must_Survive (Objective). I CANNOT get this to work properly, and I don't know why. I can do all other objectives correctly, but not this one. Can someone please help??
I even set the parameter to the Hero's script name (per the guide book), but whenever ANY hero dies the objective auto-fails. There must be something simple I'm missing.
Thank you!!
|
|
naadirslo
Hired Hero
|
posted December 30, 2010 09:50 AM |
|
|
you can do that in map editor you don't need scripts to make "hero must survive" obj. Here's an example:
|
|
mike80d
Famous Hero
Map Maker
|
posted December 30, 2010 03:46 PM |
|
|
Hi Naadirslo, thanks for the reply but I had done exactly that and it isn't working properly. Sorry if this is the wrong thread for it, but I put in everything as you stated only to find that whenever ANY hero dies the objective becomes failed. It musn't be reading the parameter, but I am definitely using the script name. I don't get why it's not working only for that hero
|
|
naadirslo
Hired Hero
|
posted December 31, 2010 09:08 AM |
|
|
are you sure? this should work...maybe you mistyped the name or something like that...
|
|
mike80d
Famous Hero
Map Maker
|
posted January 03, 2011 07:07 PM |
|
|
Yup... its even the same scripting name that I used through the 1k lines of script w/o error. I guess I'm just really confused as to why its not using the parameter properly, and instead behaving as if any hero dying will cause failure
|
|
naadirslo
Hired Hero
|
posted January 06, 2011 10:00 AM |
|
|
do you do something with this objective in the script?
that could be the case...
|
|
markkur
Honorable
Legendary Hero
Once upon a time
|
posted January 06, 2011 06:26 PM |
|
|
NaadirSlo, FYI, Gibblets and I are making good progress on a map. Does your offer still stand, to give us a hand with scripting?
|
|
naadirslo
Hired Hero
|
posted January 07, 2011 09:26 AM |
|
|
sure. just email me what you need
|
|
markkur
Honorable
Legendary Hero
Once upon a time
|
posted May 29, 2011 04:36 AM |
|
|
NaadirSlo are you still interested in scripting? Things have been toast for a while but that's changing.
|
|
falcontank
Tavern Dweller
|
posted June 01, 2011 02:38 PM |
|
|
Hi all! Can anyone tell me is the GetCurrentPlayer() works in multiplayer (online) or not? Because the players are playing at the same time, until they meet each other.
____________
|
|
|