
08-03-2017, 06:17 PM
|
RIP DarkCloud_PK
|
Join Date: Oct 2001
Location: Canada
Posts: 3,746
|
|
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? |
__________________
Save Classic!
|
|
|