Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (vicknick, 7th_zorro), 888 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: NPC Communication [Re: DLively] #441293
05/18/14 04:13
05/18/14 04:13
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
Its nice to know how to turn off the set() using reset(), however, when I turn the set() back on after using reset(), it still has the same contents in it as before the reset(), including the new contents. Is there a way to erase the previous contents of set(), and add new contents of set() in the previous content's place?

Re: NPC Communication [Re: Ruben] #441294
05/18/14 04:35
05/18/14 04:35
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh

Last edited by DLively; 05/18/14 04:37.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: NPC Communication [Re: DLively] #441444
05/23/14 06:43
05/23/14 06:43
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Have you been successful? laugh


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: NPC Communication [Re: DLively] #441458
05/24/14 01:03
05/24/14 01:03
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
Hello DLively. Yes, I believe I was successful. I used a series of these functions:

EVENT_CLICK
str_create
pan_setstring()
set()
reset()
mouse_left
mouse_pos.x
mouse_pox.y
mouse_mode

It seems to be working without creating buttons, although I might try using buttons in the future. But for now it seems to work in checking on the xy coordinate location of the mouse cursor, and when the left mouse button is clicked simultaneously, in seeing whether a player clicks on some text option.

Last edited by Ruben; 05/24/14 01:04.
Re: NPC Communication [Re: Ruben] #441460
05/24/14 01:55
05/24/14 01:55
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Perfect. Thats what I wanted to hear laugh


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: NPC Communication [Re: DLively] #441481
05/24/14 20:05
05/24/14 20:05
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
Thank you for your help. :-)

Page 2 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1