I need a generic script for making a string display when an item is picked up.
Can anyone help me out? I would appreciate it very much.
Item Pickup Script can anyone make?
Started by
shadowfall1976
, Nov 19 2007 06:29 PM
6 replies to this topic
#1
Posted 19 November 2007 - 06:29 PM
#2
Posted 19 November 2007 - 06:39 PM
Check AGN.
#4
Posted 21 November 2007 - 07:05 PM
Matthew, I can't extract your scripts, the archives are corrupted.
I would like to use your Shop script, and what does the Deep Water do?
I would like to use your Shop script, and what does the Deep Water do?
#5
Posted 21 November 2007 - 08:45 PM
Yeah, me either.
#6
Posted 27 December 2007 - 12:29 AM
CODE
item script nameofitem {
void run() {
Screen->Message(1);
}
}
void run() {
Screen->Message(1);
}
}
Where 1 is the number of the string displayed. Then attach it to the proper item.
#7
Posted 28 December 2007 - 08:33 AM
Or alternatively:
Where 'D0' on the applied item is the string to be played.
Saves having a seperate script for every item.
Everybody and their brother has written this script really.
EDIT: Oh yeah, item arguments were only added recently, I can't recall the version number off the top of my head, but if you use the latest beta you'll be fine.
CODE
item script message{
void run(int m) {
Screen->Message(m);
}
}
void run(int m) {
Screen->Message(m);
}
}
Where 'D0' on the applied item is the string to be played.
Saves having a seperate script for every item.
Everybody and their brother has written this script really.
EDIT: Oh yeah, item arguments were only added recently, I can't recall the version number off the top of my head, but if you use the latest beta you'll be fine.
Edited by Joe123, 28 December 2007 - 08:34 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users