![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1 |
Jack Burton
![]() Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
|
![]()
There isn't a "$GET" or "$SET" for race, there is only the "$Race(Actor)" string.
I know that events can be set fire or not to fire based upon a certain race being in the party. So, it seems there must be a way to do this. Any help would be greatly appreciated. |
![]() |
![]() |
![]() |
#2 |
Symbol of Cyric
![]() |
![]()
I managed to pull some examples out of the help file, and this is what you found as well:
$IF ($Race($Target())=="Elf") { $RETURN true; } $ELSE { $RETURN false; }; (or more simply $RETURN ($Race($Target())=="Elf") ![]() Also, from the help file under "character attributes", Race Values: 0=Human, 1=Elf, 2=Dwarf, 3=Gnome, 4=HalfElf, 5=Halfling Not sure what you are trying to do (if I knew more I might be able to help more), but hope this helps some. ST ps, questions like this and your "cracking the code" on ASLs makes me want to take up the "guide" gauntlet again ![]()
__________________
http://www.wilhelmscream.net/ |
![]() |
![]() |
![]() |
#3 |
Jack Burton
![]() Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
|
![]()
Hmm, seems I was being mislead by notes.
![]() ![]() My notes were not from the help file, but they were from a developer. Oh well, as long as I get it right and make sure and go by the correct source as I update the Help files. ![]() I'm working on the spells database. Hold person works on everything, that is unless you start using activation scripts. Now we have Hold Monster, Hold Undead, Hold Snake and of course Hold Person spells (the first one was the only one not working properly). I think working on the Guide again would be pretty cool. ![]() I've decided that the help files of the future will be a "Player's Handbook", a "Dungeon Master's Design Guide" and a "Monster Manual". ![]() |
![]() |
![]() |
![]() |
#4 | |||
Symbol of Cyric
![]() |
![]() Quote:
$GET_CHAR_ALIGNMENT( String ) $SET_CHAR_ALIGNMENT( String, String ) and the variables (called "String") translate to this: $GET_CHAR_ALIGNMENT($TargetIndex ) $SET_CHAR_ALIGNMENT($TargetIndex, New_Value ) But on some of the commands have an "Actor" value, instead of the "String" value. Like this: $LAST_ATTACKER_OF( Actor ) Putting $TargetIndex in this is incorrect. Instead, the strings that deal with Actor have to have the Actor label and are grouped at the top of the command list. An Example that would work would be this: $LAST_ATTACKER_OF($Myself) -or- $LAST_ATTACKER_OF($Target) Quote:
Quote:
ST ps, as for the LAST ATTACKER command, I was trying to set up a fire shield spell that hits someone for damage if they hit you. But so far I haven't been able to get it to fire off a retaliation attack more than once, and only after the person hits if you cast the spell then... ![]()
__________________
http://www.wilhelmscream.net/ Last edited by SilentThief; 09-13-2008 at 10:32 PM. |
|||
![]() |
![]() |
![]() |
#5 | |
Jack Burton
![]() Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Logic Blocks and GPDL functions | Dinonykos | Dungeon Craft - RPG Game Maker | 11 | 01-16-2007 05:20 AM |
Logic Block? GPDL functin? HELP! | TwilightKing | Dungeon Craft - RPG Game Maker | 4 | 04-17-2006 01:58 AM |
Who would win this race??? (Monster Race) | Ziroc | General Discussion | 52 | 04-14-2005 06:01 PM |
I need tutorial with gpdl script please | foody | Dungeon Craft - RPG Game Maker | 0 | 08-20-2002 11:06 AM |
GPDL bugs & suggestions | dominions | Dungeon Craft - RPG Game Maker | 7 | 05-27-2002 08:42 AM |