iFoReX Posted April 21, 2012 Posted April 21, 2012 como dice el titulo e creado un create water para una piscina pero el agua no aparece D: y en el debugging no me aparece ningun error water = createWater( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 )
Alexs Posted April 21, 2012 Posted April 21, 2012 como dice el titulo e creado un create water para una piscina pero el agua no aparece D: y en el debugging no me aparece ningun error water = createWater( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) lo dejaste en server side? ahh, es asi quiza: water = createWater( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) setWaterLevel ( 10 ) Quiza estabas creando agua sin tamaño...
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 no se llena la piscina solo el mar sube de nivel
Alexs Posted April 21, 2012 Posted April 21, 2012 no se llena la piscina solo el mar sube de nivel waterp = createWater( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) setWaterLevel (waterp,10) quiza si ponemos la variable...
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 me da error en el 1 argumento de setWaterLevel
Alexs Posted April 21, 2012 Posted April 21, 2012 me da error en el 1 argumento de setWaterLevel intentalo asi setWaterLevel ( [waterp,] 10 )
Alexs Posted April 21, 2012 Posted April 21, 2012 unexpected symbol near '[' es el ejemplo de la wiki: bool setWaterLevel ( [water theWater,] float level ) ahora podes intentar asi: setWaterLevel ( 10, waterp ) Aunq no creo
Castillo Posted April 21, 2012 Posted April 21, 2012 waterp = createWater ( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) if ( waterp ) then setWaterLevel ( waterp, 10 ) else outputChatBox ( "El agua no se creo!" ) end
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 Solid me aparece el mensaje de else "el agua no se creo "
Alexs Posted April 21, 2012 Posted April 21, 2012 Solid me aparece el mensaje de else "el agua no se creo " lo tienes en server side?
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 function piscina() waterp = createWater ( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) if ( waterp ) then setWaterLevel ( waterp, 10 ) else outputChatBox ( "El agua no se creo!" ) end addEventHandler("onResourceStart", getRootElement(), piscina) Serviria ??
Alexs Posted April 21, 2012 Posted April 21, 2012 function piscina() waterp = createWater ( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) if ( waterp ) then setWaterLevel ( waterp, 10 ) else outputChatBox ( "El agua no se creo!" ) end addEventHandler("onResourceStart", getRootElement(), piscina) Serviria ?? Pruebalo y dinos..
Renkon Posted April 22, 2012 Posted April 22, 2012 RECUERDA DEBES ORDENARLO ASI: x1, y1, z1: position of bottom left (south-west) corner. x2, y2, z2: position of bottom right (south-east) corner. x3, y3, z3: position of top left (north-west) corner. x4, y4, z4: position of top right (north-east) corner. SI NO NO SECREA!
Renkon Posted April 22, 2012 Posted April 22, 2012 si no te funciona, ES POR ESO. Porque esta perefcto
Recommended Posts