Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length.
 
Entire Forum
This board
This topic
Members
Entire Site
Home
FAQ
Help
Bug and Suggestion Tracker
Search
AGS Wiki
AGS Games
Login
Register
Adventure Game Studio | Forums
|
AGS Support
|
Beginners' Technical Questions
(Moderator:
Iceboty V7000a
) |
Topic:
Specific items
« previous
next »
Print
Pages: [
1
]
Author
Topic: Specific items (Read 155 times)
Tweet
Share
Milos Regamer Jevtic
Ju Dont Nou D Pauer Of D Dark Sajd!
Specific items
«
on:
09 Aug 2012, 05:31 »
Hi, i just want to know how to make specific items be the ONLY thing usable to a specific hotspot. Eg. A yellow key to be only able to open a yellow door, please explain for v272.
Logged
What is ultimate POWAH?!
Khris
Evil Dark Emperor Death-Kill
Re: Specific items
«
Reply #1 on:
09 Aug 2012, 12:18 »
Code: Adventure Game Studio
// inside the "use inventory on hotspot" event's function
if
(player.ActiveInventory == iYellowkey) {
// unlock door, etc.
}
else
player.Say(
"I can't use that here."
);
Logged
http://whathaveyoutried.com/
The other day on yahoo answers:
"Can you print colored images with black ink? If so tell me how please Thanx Kimberly"
Print
Pages: [
1
]
« previous
next »
Adventure Game Studio | Forums
|
AGS Support
|
Beginners' Technical Questions
(Moderator:
Iceboty V7000a
) |
Topic:
Specific items