If you like the BEHAVIOR , a little help is always welcome! Donate
Download Link : https://www.dropbox.com/sh/arj9ocvgq7x6jmz/AAA1zPYMyg1oNNlN_HIrTykxa?dl=0
Other HMMG Plugins : https://www.dropbox.com/sh/eyld20nrw3ersuy/AABNz84T_KdQGoYjHFsj2Y-8a?dl=0
Hey , so here is my new Behavior , if you have many non-main characters and getting bored searching and writing there names this behavior is for you
Functionality
Add the behavior to your Object , changes the Gender and Type if you want and let it Generate : First Name , Middle Name (if enabled in Properties) , Last Name , Birthday .
How to install :
Copy/Paste the Folder in the zip file to your behavior's directory
Close and re-open Construct 2 if it's opened
How to Use and Preview
Preview of multiple instance of the same Object : http://img11.hostingpics.net/pics/766324previewCharacterGenerator.jpg
Preview of Comparing 2 Object's birthday : http://www.hostingpics.net/viewer.php?id=697462compare.png
************** Properties **************
Gender : Set gender "Male|Female" , Default is Male
Middle Name : Generate Middle Name "Yes|No" , Default is No
Type : Set type "Child|Teen|Adult|Senior" , Default is Adult
************** Conditions **************
has Middle Name : Return true is has Middle Name
is Male : Return true if is Male
is Female : Return true if is Female
is Child : Return true if is Child
is Teen : Return true if is Teen
is Adult : Return true if is Adult
is Senior : Return true if is Senior
is Older Than : Return true if Character is Older than a given Date as Parameter
is Younger Than : Return true if Character is Younger than a given Date as Parameter
************** Actions **************
Set Name : Set Your Character's Name
Set Birthday : Set Your Character's Birthday
Set Gender : Set Your Character's Gender
Re-Generate FullName : Re-Generate Full Name
Re-Generate FirstName : Re-Generate First Name
Re-Generate MiddleName : Re-Generate Middle Name
Re-Generate LastName : Re-Generate Last Name
Re-Generate Birthday : Re-Generate Birthday
************** Expressions **************
FirstName : Return Character'sFirst Name
MiddleName : Return Character'sMiddle Name (if he has One)
LastName : Return Character's Last Name
FullName : Return Character's Full Name
Age : Return Age between Birthday and 'today' Or 'anotherDate (Return type Int)
Exemple : birthday is 10/10/1992
Sprite.CharacterGenerator.Age('today') => 22
Sprite.CharacterGenerator.Age('15/05/2005') => 12
Sprite.CharacterGenerator.Age('15/05/2000') => 8 (Usefull if your game scenario is not in Our today's Years)
Birthday : Return Birthday Format "25/02/2015" (Return type String)
BirthdayYear : Return Birthday's Year (Return type Int)
BirthdayMonth : Return Birthday's Month (Return type Int)
BirthdayDay : Return Birthday's Day (Return type Int)
Gender : Return Character's Gender
Type : Return Character's Type
If you like the BEHAVIOR , a little help is always welcome! Donate
hope it's gonna be usefull for some of you
If any one have a probleme with the BEHAVIOR email me "hsmouadh@gmail.com" , i will reply at max 5 - 6 hours