
03-25-2012, 08:30 AM
|
|
Banned
|
 |
Join Date: Oct 2001
Location: Perth, Australia
Posts: 415
|
|
|
Okay, so if we are talking the upmost basics of GS1...
if (playertouchsme) {
lay greenrupee;
hide;
}
would it be..
function onCreated () { - I'm already stuck.. I have a feeling it's not onCreated - but I dont know what the others are? I can't see anything on these sites. *face plants into desk*
see, this npcprogramming puts it all down:
- playerenters set when the player currently enters the level
- playertouchsother set when another npc is touched by the player
- playerlaysitem set when an item is layed by the player or another npc
- compusdied set when the last baddy has died
- playerendsreading set when the player ends reading a sign
- timeout set when the npc's timeout runs out |
|
|
|