Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Attaching Scripts to Characters and Objects

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
ozziedave
Member
Member
Posts: 4
Joined: October 4th, 2010, 12:01 am

Attaching Scripts to Characters and Objects

Post by ozziedave »

:( Dear SandBox Developers,

Please could you show me in simple terms, how you attach a script to a Character or Object in SandBox 2.6.

I have got as far as in Editing Mode opening ‘Editing Gui’ Then ‘Ents’ now in ‘Master Chef Ogro’ doing the above gets you to ‘New Spawn Entity’ but in the
latest version of Sandbox 2.6 you can only get ‘ New RespawnPoint’ as I only have 2.6 how please do I attach a script’s as shown below to a Character or
an Object.

I have noticed that in Editing mode, when you place the mouse pointer over a character/Object the name of the script title appears, this is a puzzle to
me how you get this to happen.

Many Thanks…..Ozzie

spawn_apple = [
r_type $ENT_ITEM
r_name "Cortland apple"
r_icon "red_apple"
r_model "tentus/food-drink/apple"
r_description "Nutritous, delicious and it's not even fictitious."

r_item_weight 1

r_interact [
r_select $rpginteract
r_pickup $rpgself
]
]

spawn_pie = [
r_type $ENT_ITEM
r_name "Apple pie"
r_icon "pie"
r_model "tentus/food-drink/pie"
r_description "Now with freshly peeled and baked apple goodness"

r_item_weight 3

r_interact [
r_select $rpginteract
r_pickup $rpgself
]
]

spawn_elder = [
r_name "Elder Maven"

r_interact [
r_face $rpginteract
r_select $rpginteract
r_face $rpgself
r_talk $rpgself
]

r_say "Hello there child, what can I do for you to do" [ // 0
r_response "Nothing at the moment, goodbye elder." -1
]

]
daltonds1
Member
Member
Posts: 368
Joined: September 13th, 2010, 12:26 am
Name: Dalton
IRC Username: Daltonds1
Location: Tomball, Texas

Re: Attaching Scripts to Characters and Objects

Post by daltonds1 »

2.6 or 2.5
ozziedave
Member
Member
Posts: 4
Joined: October 4th, 2010, 12:01 am

Re: Attaching Scripts to Characters and Objects

Post by ozziedave »

2.6, there appears to be no help for script implementation !!!
daltonds1
Member
Member
Posts: 368
Joined: September 13th, 2010, 12:26 am
Name: Dalton
IRC Username: Daltonds1
Location: Tomball, Texas

Re: Attaching Scripts to Characters and Objects

Post by daltonds1 »

Because 2.6 just came out a few days ago :)

I would go with 2.5 for now 2.5 is just as good
Locked