Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

global

Alberto McGettigan
Registered User
Join date: 14 Jun 2005
Posts: 57
08-02-2005 17:15
if i define a global variable say string word1; before the default.
then assign it a string in a listen event can i use its new value after that in a touch start event ?
cause i tried and it just comes out blank.
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
08-02-2005 17:25
You can - one mistake I've made that gives the results you're getting is to re-define it as a local variable. Don't precede the name with a type declaration ("string", "integer", etc.) when assigning it a new value.
_____________________