Quote:
Originally Posted by maximus_asinus
Okay after reading some of FP4's tutorial I am guessing temp.controlnpc = findnpc("Control-NPC") finds the object and this.player.data = temp.controlnpc.player_data pulls the value of player_data from the object? But what does temp.controlnpc.onCreated() do? Execute code listed in the onCreated() part of the Control-NPC? If so, how is this different than creating a class, using join, and calling a function that way?
|
Control-NPC is an NPC, not a class.
BTW I learned a little from reading this.